diff Objects/complexobject.c @ 11673:5e6e9e893acd legacy-trunk

The rest of the changes by Trent Mick and Dale Nagata for warning-free compilation on NT Alpha. Mostly added casts etc.
author Guido van Rossum <guido@python.org>
date Thu, 20 Jan 2000 22:32:56 +0000
parents 93b9eafe1f1d
children dc65c5f6ad7c
line wrap: on
line diff
--- a/Objects/complexobject.c	Thu Jan 20 21:37:19 2000 +0000
+++ b/Objects/complexobject.c	Thu Jan 20 22:32:56 2000 +0000
@@ -172,7 +172,7 @@
 		return PyErr_NoMemory();
 	op->ob_type = &PyComplex_Type;
 	op->cval = cval;
-	_Py_NewReference(op);
+	_Py_NewReference((PyObject *)op);
 	return (PyObject *) op;
 }