cast needed to get things compiling again on my machine.

Kent
This commit is contained in:
2009-04-06 01:43:01 +00:00
parent fe562f0dd4
commit a95f97cb28

View File

@@ -40,7 +40,7 @@ static Main *bpy_import_main= NULL;
static void free_compiled_text(Text *text) static void free_compiled_text(Text *text)
{ {
if(text->compiled) { if(text->compiled) {
Py_DECREF(text->compiled); Py_DECREF(( PyObject * )text->compiled);
} }
text->compiled= NULL; text->compiled= NULL;
} }