diff Objects/floatobject.c @ 65494:e8969fb822fc

make hashes always the size of pointers; introduce Py_hash_t #9778
author Benjamin Peterson <benjamin@python.org>
date Sun, 17 Oct 2010 20:54:53 +0000
parents eafe07d40eb7
children 8304bd765bcf
line wrap: on
line diff
--- a/Objects/floatobject.c	Sun Oct 17 20:17:41 2010 +0000
+++ b/Objects/floatobject.c	Sun Oct 17 20:54:53 2010 +0000
@@ -522,7 +522,7 @@
     return Py_NotImplemented;
 }
 
-static long
+static Py_hash_t
 float_hash(PyFloatObject *v)
 {
     return _Py_HashDouble(v->ob_fval);