diff --git a/Modules/_testcapimodule.c b/Modules/_testcapimodule.c index 473d8052ab8..597a88b1be8 100644 --- a/Modules/_testcapimodule.c +++ b/Modules/_testcapimodule.c @@ -225,7 +225,7 @@ test_lazy_hash_inheritance(PyObject* self) { PyTypeObject *type; PyObject *obj; - long hash; + Py_hash_t hash; type = &_HashInheritanceTester_Type;