diff options
-rw-r--r-- | Python/import.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/import.c b/Python/import.c index bb2f84a..be0995d 100644 --- a/Python/import.c +++ b/Python/import.c @@ -975,7 +975,7 @@ _imp__fix_co_filename_impl(PyModuleDef *module, PyCodeObject *code, PyObject *pa /*[clinic end generated code: checksum=4f55bad308072b30ad1921068fc4ce85bd2b39bf]*/ { - update_compiled_module((PyCodeObject*)code, path); + update_compiled_module(code, path); Py_RETURN_NONE; } |