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:
authorCampbell Barton <ideasman42@gmail.com>2009-05-28 14:31:56 +0400
committerCampbell Barton <ideasman42@gmail.com>2009-05-28 14:31:56 +0400
commita843d7e31612a0f9c53fe7b2131bd2b873c5ce7f (patch)
tree63a5ab96b3b0596fa34887d460635263c3b6f2d7 /source/blender/python
parent970f9f3ee2d2eb1cf9fa87327a590d7e1fde50f2 (diff)
Needed to cast to a PyObject*
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 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 */