diff options
author | Benjamin Peterson <benjamin@python.org> | 2010-10-23 16:20:50 +0000 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2010-10-23 16:20:50 +0000 |
commit | a7dce1241ca5e5f8a6bcca41a1c2bc01314c16c2 (patch) | |
tree | 06e1d81a3eb3219743b27301215d0517e5502105 /Python/sysmodule.c | |
parent | c8ab87710334068276a0a1551f40423f328d01fe (diff) | |
download | cpython-a7dce1241ca5e5f8a6bcca41a1c2bc01314c16c2.tar.gz |
follow up to #9778: define and use an unsigned hash type
Diffstat (limited to 'Python/sysmodule.c')
-rw-r--r-- | Python/sysmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c index 2530cc07aa..6be2262c7b 100644 --- a/Python/sysmodule.c +++ b/Python/sysmodule.c @@ -569,7 +569,7 @@ get_hash_info(void) PyStructSequence_SET_ITEM(hash_info, field++, PyLong_FromLong(8*sizeof(Py_hash_t))); PyStructSequence_SET_ITEM(hash_info, field++, - PyLong_FromLong(_PyHASH_MODULUS)); + PyLong_FromSsize_t(_PyHASH_MODULUS)); PyStructSequence_SET_ITEM(hash_info, field++, PyLong_FromLong(_PyHASH_INF)); PyStructSequence_SET_ITEM(hash_info, field++, |