diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-05-28 14:31:56 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-05-28 14:31:56 +0400 |
commit | a843d7e31612a0f9c53fe7b2131bd2b873c5ce7f (patch) | |
tree | 63a5ab96b3b0596fa34887d460635263c3b6f2d7 /source/blender | |
parent | 970f9f3ee2d2eb1cf9fa87327a590d7e1fde50f2 (diff) |
Needed to cast to a PyObject*
Diffstat (limited to 'source/blender')
-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 6080a2056a0..c1778faa1cd 100644 --- a/source/blender/python/intern/bpy_rna.c +++ b/source/blender/python/intern/bpy_rna.c @@ -1370,7 +1370,7 @@ static void pyrna_subtype_set_rna(PyObject *newclass, StructRNA *srna) if (RNA_struct_py_type_get(srna)) PyObSpit("RNA WAS SET - ", RNA_struct_py_type_get(srna)); - Py_XDECREF(RNA_struct_py_type_get(srna)); + Py_XDECREF(((PyObject *)RNA_struct_py_type_get(srna))); RNA_struct_py_type_set(srna, (void *)newclass); /* Store for later use */ |