cleanup: redundant casts & const cast correctness

This commit is contained in:
2015-01-01 23:26:03 +11:00
parent 4bdd4aa633
commit aab4f2b762
55 changed files with 140 additions and 138 deletions

View File

@@ -265,7 +265,7 @@ PyObject *bpy_text_reimport(PyObject *module, int *found)
}
/* make into a module */
return PyImport_ExecCodeModule((char *)name, text->compiled);
return PyImport_ExecCodeModule(name, text->compiled);
}