SVN: zope.timestamp/trunk/src/zope/TimeStamp.c Update to HEAD version that doesn't complain about signedness.
Chris McDonough <[email protected]> Tue, 7 Mar 2006 14:54:53 -0500 (EST)
| Newsgroups | gmane.comp.web.zope.public-cvs |
|---|---|
| Message-ID | <[email protected]> |
Log message for revision 65862:
Update to HEAD version that doesn't complain about signedness.
Changed:
U zope.timestamp/trunk/src/zope/TimeStamp.c
-=-
Modified: zope.timestamp/trunk/src/zope/TimeStamp.c
===================================================================
--- zope.timestamp/trunk/src/zope/TimeStamp.c 2006-03-07 17:17:48 UTC (rev 65861)
+++ zope.timestamp/trunk/src/zope/TimeStamp.c 2006-03-07 19:54:53 UTC (rev 65862)
@@ -21,7 +21,7 @@
static char TimeStampModule_doc[] =
"A 64-bit TimeStamp used as a ZODB serial number.\n"
"\n"
-"$Id: TimeStamp.c 29450 2005-03-11 23:53:09Z tim_one $\n";
+"$Id: TimeStamp.c 41599 2006-02-11 21:33:49Z tseaver $\n";
typedef struct {
@@ -218,7 +218,7 @@
static PyObject *
TimeStamp_raw(TimeStamp *self)
{
- return PyString_FromStringAndSize(self->data, 8);
+ return PyString_FromStringAndSize((const char*)self->data, 8);
}
static PyObject *
@@ -261,7 +261,7 @@
new[i] = 0;
else {
new[i]++;
- return TimeStamp_FromString(new);
+ return TimeStamp_FromString((const char*)new);
}
}
_______________________________________________
Zope-CVS maillist - [email protected]
http://mail.zope.org/mailman/listinfo/zope-cvs
Zope CVS instructions: http://dev.zope.org/CVS