summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-06-10 21:43:28 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-06-10 21:43:28 (GMT)
commitfcc54cab100108f97c5b5641e3df11b7614993c2 (patch)
treeb6903a715ba4db8316d44847e9cfc56c82f6a9c9
parent0bb580d297bdc6ccb33fcd15e317a79112e77750 (diff)
downloadcpython-fcc54cab100108f97c5b5641e3df11b7614993c2.zip
cpython-fcc54cab100108f97c5b5641e3df11b7614993c2.tar.gz
cpython-fcc54cab100108f97c5b5641e3df11b7614993c2.tar.bz2
Added a missing cast to the hashfunc initializer.
-rw-r--r--Objects/typeobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/typeobject.c b/Objects/typeobject.c
index 795714d..ea3494e 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*/