diff --git a/Objects/setobject.c b/Objects/setobject.c index 01f05883e23..74b97615aa3 100644 --- a/Objects/setobject.c +++ b/Objects/setobject.c @@ -727,7 +727,7 @@ frozenset_hash(PyObject *self) 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);