]> granicus.if.org Git - python/commitdiff
Issue #10185: use Py_hash_t instead of long
authorAntoine Pitrou <solipsis@pitrou.net>
Sat, 23 Oct 2010 19:42:38 +0000 (19:42 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Sat, 23 Oct 2010 19:42:38 +0000 (19:42 +0000)
Modules/_testcapimodule.c

index 473d8052ab8ccb547976d0f4b1b4971411d3579b..597a88b1be8a07e436938b48331ac12e2f75261f 100644 (file)
@@ -225,7 +225,7 @@ test_lazy_hash_inheritance(PyObject* self)
 {
     PyTypeObject *type;
     PyObject *obj;
-    long hash;
+    Py_hash_t hash;
 
     type = &_HashInheritanceTester_Type;