diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2011-03-04 13:37:49 +0300 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2011-03-04 13:37:49 +0300 |
commit | 292f633698c3957e0d8e657aa183ff6b02d069e5 (patch) | |
tree | 24e744eb43fc7ff400aae8acdc36e2064fc58bd6 /source | |
parent | 98d444109ebfa9d5fe4c5d51d889873f2eeda848 (diff) |
long hash caused stack corruption in _PySet_NextEntry. This wanted a Py_hash_t, so made hash into such.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/python/intern/bpy_rna.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/intern/bpy_rna.c b/source/blender/python/intern/bpy_rna.c index 25d246c066d..2f7085d9b30 100644 --- a/source/blender/python/intern/bpy_rna.c +++ b/source/blender/python/intern/bpy_rna.c @@ -1033,8 +1033,8 @@ int pyrna_set_to_enum_bitfield(EnumPropertyItem *items, PyObject *value, int *r_ /* set looping */ Py_ssize_t pos = 0; + Py_hash_t hash = 0; PyObject *key; - long hash; *r_value= 0; |