Replace PyNumber_Int with PyNumber_Long.
diff --git a/Objects/weakrefobject.c b/Objects/weakrefobject.c
index b65e5fd..aa65573 100644
--- a/Objects/weakrefobject.c
+++ b/Objects/weakrefobject.c
@@ -488,7 +488,7 @@
 WRAP_BINARY(proxy_and, PyNumber_And)
 WRAP_BINARY(proxy_xor, PyNumber_Xor)
 WRAP_BINARY(proxy_or, PyNumber_Or)
-WRAP_UNARY(proxy_int, PyNumber_Int)
+WRAP_UNARY(proxy_int, PyNumber_Long)
 WRAP_UNARY(proxy_float, PyNumber_Float)
 WRAP_BINARY(proxy_iadd, PyNumber_InPlaceAdd)
 WRAP_BINARY(proxy_isub, PyNumber_InPlaceSubtract)