[Zope-Checkins] CVS: Zope/lib/python/ZODB - cPickleCache.c:1.57

Chris Withers chrisw@nipltd.com
Mon, 15 Apr 2002 11:17:33 -0400


Update of /cvs-repository/Zope/lib/python/ZODB
In directory cvs.zope.org:/tmp/cvs-serv14609

Modified Files:
	cPickleCache.c 
Log Message:
Change void* to char* to make VC++ happy.

=== Zope/lib/python/ZODB/cPickleCache.c 1.56 => 1.57 ===
      * the pointer to the Python object that slot is embedded in.
      */
-    object = (PyObject *)(((void *)here) - offsetof(cPersistentObject, ring));
+    object = (PyObject *)(((char *)here) - offsetof(cPersistentObject, ring));
 
 #ifdef MUCH_RING_CHECKING
     if (!PyExtensionInstance_Check(object)) {