diff --git a/source/blender/python/intern/bpy_rna.c b/source/blender/python/intern/bpy_rna.c index 2f7085d9b30..0f452605c28 100644 --- a/source/blender/python/intern/bpy_rna.c +++ b/source/blender/python/intern/bpy_rna.c @@ -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;