mirror of
https://github.com/python/cpython.git
synced 2025-08-29 13:15:11 +00:00
Fix an error on AIX by using a proper cast.
This commit is contained in:
parent
64529cd7ce
commit
9a15c211cf
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue