[Python-checkins] CVS: python/dist/src/Objects typeobject.c,2.54,2.55
Tim Peters
tim_one@users.sourceforge.net
2001年8月30日 13:07:57 -0700
Update of /cvsroot/python/python/dist/src/Objects
In directory usw-pr-cvs1:/tmp/cvs-serv31365/python/Objects
Modified Files:
typeobject.c
Log Message:
Squash new compiler wng.
Index: typeobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/typeobject.c,v
retrieving revision 2.54
retrieving revision 2.55
diff -C2 -d -r2.54 -r2.55
*** typeobject.c 2001年08月30日 20:00:07 2.54
--- typeobject.c 2001年08月30日 20:07:55 2.55
***************
*** 865,869 ****
if (add_dict) {
if (base->tp_itemsize)
! type->tp_dictoffset = -sizeof(PyObject *);
else
type->tp_dictoffset = slotoffset;
--- 865,869 ----
if (add_dict) {
if (base->tp_itemsize)
! type->tp_dictoffset = -(long)sizeof(PyObject *);
else
type->tp_dictoffset = slotoffset;