summaryrefslogtreecommitdiffstats
path: root/Objects/methodobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/methodobject.c')
-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;