[Python-checkins] r69583 - python/trunk/Objects/object.c
antoine.pitrou
python-checkins at python.org
Fri Feb 13 14:57:40 CET 2009
Author: antoine.pitrou
Date: Fri Feb 13 14:57:40 2009
New Revision: 69583
Log:
Fix compiler warning (gcc)
Modified:
python/trunk/Objects/object.c
Modified: python/trunk/Objects/object.c
==============================================================================
--- python/trunk/Objects/object.c (original)
+++ python/trunk/Objects/object.c Fri Feb 13 14:57:40 2009
@@ -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;
More information about the Python-checkins
mailing list