Remove unneeded casts to hashfunc.
diff --git a/Objects/dictobject.c b/Objects/dictobject.c
index f676aa0..c6ca40c 100644
--- a/Objects/dictobject.c
+++ b/Objects/dictobject.c
@@ -2143,7 +2143,7 @@
     0,                                          /* tp_as_number */
     &dict_as_sequence,                          /* tp_as_sequence */
     &dict_as_mapping,                           /* tp_as_mapping */
-    (hashfunc)PyObject_HashNotImplemented,      /* tp_hash */
+    PyObject_HashNotImplemented,                /* tp_hash */
     0,                                          /* tp_call */
     0,                                          /* tp_str */
     PyObject_GenericGetAttr,                    /* tp_getattro */