summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2010-10-23 19:42:38 +0000
committerAntoine Pitrou <solipsis@pitrou.net>2010-10-23 19:42:38 +0000
commit29aad0005dd56634363dabd74cf6708c9a255b43 (patch)
treeb418fbe0d388b3ba87abc84824027d14d9d223d2
parent57f75799bf4b24b09cbee9a2de4b01b2c73757d4 (diff)
downloadcpython-git-29aad0005dd56634363dabd74cf6708c9a255b43.tar.gz
Issue #10185: use Py_hash_t instead of long
-rw-r--r--Modules/_testcapimodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_testcapimodule.c b/Modules/_testcapimodule.c
index 473d8052ab..597a88b1be 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;