diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-08-30 20:07:55 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-08-30 20:07:55 (GMT) |
commit | 017cb2c7d85fa4a07365a9a205aca21bc29d01a8 (patch) | |
tree | 3a1f1e90be57e4f7ff6428185acc569c053334b0 /Objects | |
parent | caa9f4377973afcf36265306fbe0816879802a35 (diff) | |
download | cpython-017cb2c7d85fa4a07365a9a205aca21bc29d01a8.zip cpython-017cb2c7d85fa4a07365a9a205aca21bc29d01a8.tar.gz cpython-017cb2c7d85fa4a07365a9a205aca21bc29d01a8.tar.bz2 |
Squash new compiler wng.
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/typeobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/typeobject.c b/Objects/typeobject.c index 984b582..303dead 100644 --- a/Objects/typeobject.c +++ b/Objects/typeobject.c @@ -864,7 +864,7 @@ type_new(PyTypeObject *metatype, PyObject *args, PyObject *kwds) else { if (add_dict) { if (base->tp_itemsize) - type->tp_dictoffset = -sizeof(PyObject *); + type->tp_dictoffset = -(long)sizeof(PyObject *); else type->tp_dictoffset = slotoffset; slotoffset += sizeof(PyObject *); |