Stop GCC warning about int literal that's so long that it becomes an
unsigned int (on a 32-bit machine), by adding an explicit 'u' to the
literal (a prime used to improve the hash function for frozenset).
diff --git a/Objects/setobject.c b/Objects/setobject.c
index 01f0588..74b9761 100644
--- a/Objects/setobject.c
+++ b/Objects/setobject.c
@@ -727,7 +727,7 @@
use cases have many combinations of a small number of
elements with nearby hashes so that many distinct combinations
collapse to only a handful of distinct hash values. */
- hash ^= PyObject_Hash(item) * 3644798167;
+ hash ^= PyObject_Hash(item) * 3644798167u;
Py_DECREF(item);
}
Py_DECREF(it);