]> granicus.if.org Git - python/commitdiff
Added a missing cast to the hashfunc initializer.
authorJack Jansen <jack.jansen@cwi.nl>
Sun, 10 Jun 2001 21:43:28 +0000 (21:43 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Sun, 10 Jun 2001 21:43:28 +0000 (21:43 +0000)
Objects/typeobject.c

index 795714d8b52f38cdefe8d3fda5c85616a82ff0af..ea3494eed2c9d3303a590e97d4942cc59191e14a 100644 (file)
@@ -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*/