summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-01-20 22:32:56 (GMT)
committerGuido van Rossum <guido@python.org>2000-01-20 22:32:56 (GMT)
commitbffd683f7356d92d4504b2bcaa7221fab3f52f4e (patch)
treefb68ae112139013c715e82c4b03678feab52ab21 /Modules
parente0a928dc1ec74f487471d102ae6efacc92055aa6 (diff)
downloadcpython-bffd683f7356d92d4504b2bcaa7221fab3f52f4e.zip
cpython-bffd683f7356d92d4504b2bcaa7221fab3f52f4e.tar.gz
cpython-bffd683f7356d92d4504b2bcaa7221fab3f52f4e.tar.bz2
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')
-rw-r--r--Modules/arraymodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/arraymodule.c b/Modules/arraymodule.c
index fc7bf07..396b9cf 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;
}