From bffd683f7356d92d4504b2bcaa7221fab3f52f4e Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 20 Jan 2000 22:32:56 +0000 Subject: The rest of the changes by Trent Mick and Dale Nagata for warning-free compilation on NT Alpha. Mostly added casts etc. --- Objects/complexobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Objects/complexobject.c') diff --git a/Objects/complexobject.c b/Objects/complexobject.c index e8447bb7c5..ac95e8b670 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; } -- cgit v1.2.1