Squash new compiler wng.
This commit is contained in:
parent
caa9f43779
commit
017cb2c7d8
|
@ -864,7 +864,7 @@ type_new(PyTypeObject *metatype, PyObject *args, PyObject *kwds)
|
||||||
else {
|
else {
|
||||||
if (add_dict) {
|
if (add_dict) {
|
||||||
if (base->tp_itemsize)
|
if (base->tp_itemsize)
|
||||||
type->tp_dictoffset = -sizeof(PyObject *);
|
type->tp_dictoffset = -(long)sizeof(PyObject *);
|
||||||
else
|
else
|
||||||
type->tp_dictoffset = slotoffset;
|
type->tp_dictoffset = slotoffset;
|
||||||
slotoffset += sizeof(PyObject *);
|
slotoffset += sizeof(PyObject *);
|
||||||
|
|
Loading…
Reference in New Issue