From: Brett Cannon Date: Fri, 10 Jan 2014 12:43:55 +0000 (-0500) Subject: Remove an unneeded cast. X-Git-Tag: v3.4.0b3~190 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a6dec2e74426ea0ae271c31523d4c6c9e60aa9c7;p=python Remove an unneeded cast. --- diff --git a/Python/import.c b/Python/import.c index bb2f84af09..be0995dac6 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; }