Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Letwory <nathan@letworyinteractive.com>2011-03-04 13:37:49 +0300
committerNathan Letwory <nathan@letworyinteractive.com>2011-03-04 13:37:49 +0300
commit292f633698c3957e0d8e657aa183ff6b02d069e5 (patch)
tree24e744eb43fc7ff400aae8acdc36e2064fc58bd6 /source/blender/python
parent98d444109ebfa9d5fe4c5d51d889873f2eeda848 (diff)
long hash caused stack corruption in _PySet_NextEntry. This wanted a Py_hash_t, so made hash into such.
Diffstat (limited to 'source/blender/python')
-rw-r--r--source/blender/python/intern/bpy_rna.c2
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;