diff options
author | Benjamin Peterson <benjamin@python.org> | 2010-10-17 20:54:53 +0000 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2010-10-17 20:54:53 +0000 |
commit | 8c3324e313c1adb92a1e38bbcbaa494bf97b754d (patch) | |
tree | 25e2c647d7ba30fae6dd1d0446b9eaa6997c17e8 /Python/ceval.c | |
parent | 7ce1b2b4dc3414cd9e8bca771ee92a52e67db390 (diff) | |
download | cpython-8c3324e313c1adb92a1e38bbcbaa494bf97b754d.tar.gz |
make hashes always the size of pointers; introduce Py_hash_t #9778
Diffstat (limited to 'Python/ceval.c')
-rw-r--r-- | Python/ceval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/ceval.c b/Python/ceval.c index f85f33ad02..1eb5f6204b 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -2102,7 +2102,7 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throwflag) /* Inline the PyDict_GetItem() calls. WARNING: this is an extreme speed hack. Do not try this at home. */ - long hash = ((PyUnicodeObject *)w)->hash; + Py_hash_t hash = ((PyUnicodeObject *)w)->hash; if (hash != -1) { PyDictObject *d; PyDictEntry *e; |