From a95f97cb2832296fc02cb2cb236cbb69d51a3cf1 Mon Sep 17 00:00:00 2001 From: Kent Mein Date: Mon, 6 Apr 2009 01:43:01 +0000 Subject: [PATCH] cast needed to get things compiling again on my machine. Kent --- source/blender/python/api2_2x/bpy_internal_import.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/python/api2_2x/bpy_internal_import.c b/source/blender/python/api2_2x/bpy_internal_import.c index fe69950f8c9..1423ffe522b 100644 --- a/source/blender/python/api2_2x/bpy_internal_import.c +++ b/source/blender/python/api2_2x/bpy_internal_import.c @@ -40,7 +40,7 @@ static Main *bpy_import_main= NULL; static void free_compiled_text(Text *text) { if(text->compiled) { - Py_DECREF(text->compiled); + Py_DECREF(( PyObject * )text->compiled); } text->compiled= NULL; }