diff Modules/arraymodule.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 cbf58cd0bb57
children 6546ea06e157
line wrap: on
line diff
--- a/Modules/arraymodule.c	Thu Jan 20 21:37:19 2000 +0000
+++ b/Modules/arraymodule.c	Thu Jan 20 22:32:56 2000 +0000
@@ -363,7 +363,7 @@
 	op->ob_type = &Arraytype;
 	op->ob_size = size;
 	op->ob_descr = descr;
-	_Py_NewReference(op);
+	_Py_NewReference((PyObject *)op);
 	return (PyObject *) op;
 }