summaryrefslogtreecommitdiff
path: root/Objects/complexobject.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-01-20 22:32:56 +0000
committerGuido van Rossum <guido@python.org>2000-01-20 22:32:56 +0000
commitbffd683f7356d92d4504b2bcaa7221fab3f52f4e (patch)
treefb68ae112139013c715e82c4b03678feab52ab21 /Objects/complexobject.c
parente0a928dc1ec74f487471d102ae6efacc92055aa6 (diff)
downloadcpython-git-bffd683f7356d92d4504b2bcaa7221fab3f52f4e.tar.gz
The rest of the changes by Trent Mick and Dale Nagata for warning-free
compilation on NT Alpha. Mostly added casts etc.
Diffstat (limited to 'Objects/complexobject.c')
-rw-r--r--Objects/complexobject.c2
1 files changed, 1 insertions, 1 deletions
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;
}