diff options
author | Guido van Rossum <guido@python.org> | 2000-06-30 22:46:04 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2000-06-30 22:46:04 (GMT) |
commit | 9a15c211cffefa2da5bda345ac162a6bbe0d69b7 (patch) | |
tree | d0ce4cbfa1e6d5931cda0a47f913383cf1651259 | |
parent | 64529cd7cebf08c2c3f7be64f4b3e54c2ae0f25c (diff) | |
download | cpython-9a15c211cffefa2da5bda345ac162a6bbe0d69b7.zip cpython-9a15c211cffefa2da5bda345ac162a6bbe0d69b7.tar.gz cpython-9a15c211cffefa2da5bda345ac162a6bbe0d69b7.tar.bz2 |
Fix an error on AIX by using a proper cast.
-rw-r--r-- | Objects/methodobject.c | 2 |
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; |