diff options
Diffstat (limited to 'Objects/floatobject.c')
-rw-r--r-- | Objects/floatobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/floatobject.c b/Objects/floatobject.c index 557a641..6430a98 100644 --- a/Objects/floatobject.c +++ b/Objects/floatobject.c @@ -145,7 +145,7 @@ PyFloat_FromDouble(fval) free_list = (PyFloatObject *)op->ob_type; op->ob_type = &PyFloat_Type; op->ob_fval = fval; - _Py_NewReference(op); + _Py_NewReference((PyObject *)op); return (PyObject *) op; } |