diff Objects/typeobject.c @ 18068:62472656807e legacy-trunk

Added a missing cast to the hashfunc initializer.
author Jack Jansen <jack.jansen@cwi.nl>
date Sun, 10 Jun 2001 21:43:28 +0000
parents bbac2a6a5d16
children 09df3254b49d
line wrap: on
line diff
--- a/Objects/typeobject.c	Sun Jun 10 18:58:26 2001 +0000
+++ b/Objects/typeobject.c	Sun Jun 10 21:43:28 2001 +0000
@@ -56,7 +56,7 @@
 	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*/