From: Guido van Rossum Date: Fri, 30 Jun 2000 22:46:04 +0000 (+0000) Subject: Fix an error on AIX by using a proper cast. X-Git-Tag: v2.0b1~1179 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9a15c211cffefa2da5bda345ac162a6bbe0d69b7;p=thirdparty%2FPython%2Fcpython.git Fix an error on AIX by using a proper cast. --- diff --git a/Objects/methodobject.c b/Objects/methodobject.c index ec98de492a9a..9e91f609a86b 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;