diff Objects/object.c @ 51602:08df4f5583ff legacy-trunk

Fix compiler warning (gcc)
author Antoine Pitrou <solipsis@pitrou.net>
date Fri, 13 Feb 2009 13:57:40 +0000
parents 5a72eed1eb1a
children af9b6c43804e
line wrap: on
line diff
--- a/Objects/object.c	Fri Feb 13 13:52:33 2009 +0000
+++ b/Objects/object.c	Fri Feb 13 13:57:40 2009 +0000
@@ -1076,7 +1076,7 @@
 	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;