From 8f67d0893f7170986b0ad370844318544270cbcc Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sun, 17 Oct 2010 20:54:53 +0000 Subject: make hashes always the size of pointers; introduce Py_hash_t #9778 --- Include/weakrefobject.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Include/weakrefobject.h') diff --git a/Include/weakrefobject.h b/Include/weakrefobject.h index f15c9d9c12..b201d0814c 100644 --- a/Include/weakrefobject.h +++ b/Include/weakrefobject.h @@ -27,7 +27,7 @@ struct _PyWeakReference { /* A cache for wr_object's hash code. As usual for hashes, this is -1 * if the hash code isn't known yet. */ - long hash; + Py_hash_t hash; /* If wr_object is weakly referenced, wr_object has a doubly-linked NULL- * terminated list of weak references to it. These are the list pointers. -- cgit v1.2.1