diff options
Diffstat (limited to 'Objects/complexobject.c')
-rw-r--r-- | Objects/complexobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/complexobject.c b/Objects/complexobject.c index e8447bb..ac95e8b 100644 --- a/Objects/complexobject.c +++ b/Objects/complexobject.c @@ -172,7 +172,7 @@ PyComplex_FromCComplex(cval) return PyErr_NoMemory(); op->ob_type = &PyComplex_Type; op->cval = cval; - _Py_NewReference(op); + _Py_NewReference((PyObject *)op); return (PyObject *) op; } |