Issue #10185: use Py_hash_t instead of long
diff --git a/Modules/_testcapimodule.c b/Modules/_testcapimodule.c
index 473d805..597a88b 100644
--- a/Modules/_testcapimodule.c
+++ b/Modules/_testcapimodule.c
@@ -225,7 +225,7 @@
 {
     PyTypeObject *type;
     PyObject *obj;
-    long hash;
+    Py_hash_t hash;
 
     type = &_HashInheritanceTester_Type;