Squash new compiler wng.

This commit is contained in:
Tim Peters 2001-08-30 20:07:55 +00:00
parent caa9f43779
commit 017cb2c7d8
1 changed files with 1 additions and 1 deletions

View File

@ -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 *);