Commit ee2843e5 authored by Matti Picus's avatar Matti Picus
Browse files

wrong return type for _Py_HashDouble, impacts 64-bit windows

--HG--
branch : release-pypy2.7-v7.x
parent cc3e122f7896
Pipeline #21697 passed with stage
in 7 minutes and 22 seconds
......@@ -365,7 +365,7 @@ def PyObject_Hash(space, w_obj):
This is the equivalent of the Python expression hash(o)."""
return space.hash_w(w_obj)
@cpython_api([rffi.DOUBLE], rffi.LONG, error=-1)
@cpython_api([rffi.DOUBLE], lltype.Signed, error=-1)
def _Py_HashDouble(space, v):
return space.hash_w(space.newfloat(v))
......
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