diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2001-06-10 21:43:28 +0000 |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2001-06-10 21:43:28 +0000 |
commit | fcc54cab100108f97c5b5641e3df11b7614993c2 (patch) | |
tree | b6903a715ba4db8316d44847e9cfc56c82f6a9c9 | |
parent | 0bb580d297bdc6ccb33fcd15e317a79112e77750 (diff) | |
download | cpython-git-fcc54cab100108f97c5b5641e3df11b7614993c2.tar.gz |
Added a missing cast to the hashfunc initializer.
-rw-r--r-- | Objects/typeobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/typeobject.c b/Objects/typeobject.c index 795714d8b5..ea3494eed2 100644 --- a/Objects/typeobject.c +++ b/Objects/typeobject.c @@ -56,7 +56,7 @@ PyTypeObject PyType_Type = { 0, /*tp_as_number*/ 0, /*tp_as_sequence*/ 0, /*tp_as_mapping*/ - _Py_HashPointer, /*tp_hash*/ + (hashfunc)_Py_HashPointer, /*tp_hash*/ 0, /*tp_call*/ 0, /*tp_str*/ 0, /*tp_xxx1*/ |