diff Objects/methodobject.c @ 13252:310d7cbba329 legacy-trunk

Fix an error on AIX by using a proper cast.
author Guido van Rossum <guido@python.org>
date Fri, 30 Jun 2000 22:46:04 +0000
parents ff243b0f16ee
children 916fb024ce94
line wrap: on
line diff
--- a/Objects/methodobject.c	Fri Jun 30 22:45:12 2000 +0000
+++ b/Objects/methodobject.c	Fri Jun 30 22:46:04 2000 +0000
@@ -180,7 +180,7 @@
 		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;