Commit 312c9d3a authored by Guido van Rossum's avatar Guido van Rossum

Fix an error on AIX by using a proper cast.

parent 3ce262d4
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment