cast needed to get things compiling again on my machine.
authorKent Mein <mein@cs.umn.edu>
Mon, 6 Apr 2009 01:43:01 +0000 (01:43 +0000)
committerKent Mein <mein@cs.umn.edu>
Mon, 6 Apr 2009 01:43:01 +0000 (01:43 +0000)
Kent

source/blender/python/api2_2x/bpy_internal_import.c

index fe69950f8c9e50bacd40c22187a1340732cb5f6e..1423ffe522b316c87ee4751b13a2c918ba85bbb8 100644 (file)
@@ -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;
 }