Kaydet (Commit) 9e8a250e authored tarafından Antoine Pitrou's avatar Antoine Pitrou

Fix compiler warning (gcc)

üst 76a4b896
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment