summaryrefslogtreecommitdiffstats
path: root/Objects/listobject.c
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2000-07-25 12:56:38 (GMT)
committerThomas Wouters <thomas@python.org>2000-07-25 12:56:38 (GMT)
commit334fb8985bc126f62af65669150c30787eabddd9 (patch)
tree114a52660cda84eb69f1fe8c24d0df7458dbe875 /Objects/listobject.c
parentbf680266da23b0b95a03d2b7ea5da493d341a562 (diff)
downloadcpython-334fb8985bc126f62af65669150c30787eabddd9.zip
cpython-334fb8985bc126f62af65669150c30787eabddd9.tar.gz
cpython-334fb8985bc126f62af65669150c30787eabddd9.tar.bz2
Use 'void' directly instead of the ANY #define, now that all code is ANSI C.
Leave the actual #define in for API compatibility.
Diffstat (limited to 'Objects/listobject.c')
-rw-r--r--Objects/listobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/listobject.c b/Objects/listobject.c
index 52640fb..42eedf2 100644
--- a/Objects/listobject.c
+++ b/Objects/listobject.c
@@ -1258,8 +1258,8 @@ PyList_AsTuple(PyObject *v)
if (w == NULL)
return NULL;
p = ((PyTupleObject *)w)->ob_item;
- memcpy((ANY *)p,
- (ANY *)((PyListObject *)v)->ob_item,
+ memcpy((void *)p,
+ (void *)((PyListObject *)v)->ob_item,
n*sizeof(PyObject *));
while (--n >= 0) {
Py_INCREF(*p);