Py_hash_t is new typedef in Python 3.2, typedeffing Py_ssize_t. Changing to that to keep "slow adaptors" happy ;)

This commit is contained in:
Nathan Letwory
2011-03-04 11:08:22 +00:00
parent 292f633698
commit 5b6223fdeb

View File

@@ -1033,7 +1033,7 @@ int pyrna_set_to_enum_bitfield(EnumPropertyItem *items, PyObject *value, int *r_
/* set looping */
Py_ssize_t pos = 0;
Py_hash_t hash = 0;
Py_ssize_t hash = 0;
PyObject *key;
*r_value= 0;