summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2009-02-13 13:57:40 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2009-02-13 13:57:40 (GMT)
commit9e8a250ed98b9d280e128b9cd607c8adc5f612bd (patch)
tree0e42a5b118a4efcf98706e3d7479cf9c0f4511f6 /Objects
parent76a4b896c4b976d2d17df0aa7cf5c982986f8771 (diff)
downloadcpython-9e8a250ed98b9d280e128b9cd607c8adc5f612bd.zip
cpython-9e8a250ed98b9d280e128b9cd607c8adc5f612bd.tar.gz
cpython-9e8a250ed98b9d280e128b9cd607c8adc5f612bd.tar.bz2
Fix compiler warning (gcc)
Diffstat (limited to 'Objects')
-rw-r--r--Objects/object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/object.c b/Objects/object.c
index 8006fda..5dff385 100644
--- a/Objects/object.c
+++ b/Objects/object.c
@@ -1076,7 +1076,7 @@ _Py_HashPointer(void *p)
size_t y = (size_t)p;
/* bottom 3 or 4 bits are likely to be 0; rotate y by 4 to avoid
excessive hash collisions for dicts and sets */
- y = (y >> 4) | (y << 8*SIZEOF_VOID_P - 4);
+ y = (y >> 4) | (y << (8 * SIZEOF_VOID_P - 4));
x = (long)y;
if (x == -1)
x = -2;