summaryrefslogtreecommitdiff
path: root/Modules/arraymodule.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
commit369cec6d822dc14be4c3c68ba97f4652d5eaea2c (patch)
tree374e995c270c7e390ca024ab132ff829bcbfaf08 /Modules/arraymodule.c
parentca6fb5a12131d9eec3d5ef12394826d375c11464 (diff)
downloadcpython-369cec6d822dc14be4c3c68ba97f4652d5eaea2c.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 'Modules/arraymodule.c')
-rw-r--r--Modules/arraymodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/arraymodule.c b/Modules/arraymodule.c
index fc7bf07461..396b9cfb2d 100644
--- a/Modules/arraymodule.c
+++ b/Modules/arraymodule.c
@@ -363,7 +363,7 @@ newarrayobject(size, descr)
op->ob_type = &Arraytype;
op->ob_size = size;
op->ob_descr = descr;
- _Py_NewReference(op);
+ _Py_NewReference((PyObject *)op);
return (PyObject *) op;
}