[Zope-CVS] SVN: zope.timestamp/trunk/src/zope/TimeStamp.c Update to
HEAD version that doesn't complain about signedness.
Chris McDonough
chrism at plope.com
Tue Mar 7 14:54:53 EST 2006
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);
}
}
More information about the Zope-CVS
mailing list