summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-06-30 22:46:04 (GMT)
committerGuido van Rossum <guido@python.org>2000-06-30 22:46:04 (GMT)
commit9a15c211cffefa2da5bda345ac162a6bbe0d69b7 (patch)
treed0ce4cbfa1e6d5931cda0a47f913383cf1651259 /Objects
parent64529cd7cebf08c2c3f7be64f4b3e54c2ae0f25c (diff)
downloadcpython-9a15c211cffefa2da5bda345ac162a6bbe0d69b7.zip
cpython-9a15c211cffefa2da5bda345ac162a6bbe0d69b7.tar.gz
cpython-9a15c211cffefa2da5bda345ac162a6bbe0d69b7.tar.bz2
Fix an error on AIX by using a proper cast.
Diffstat (limited to 'Objects')
-rw-r--r--Objects/methodobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/methodobject.c b/Objects/methodobject.c
index ec98de4..9e91f60 100644
--- a/Objects/methodobject.c
+++ b/Objects/methodobject.c
@@ -180,7 +180,7 @@ meth_hash(a)
if (x == -1)
return -1;
}
- y = _Py_HashPointer(a->m_ml->ml_meth);
+ y = _Py_HashPointer((void*)(a->m_ml->ml_meth));
if (y == -1)
return -1;
x ^= y;