]> granicus.if.org Git - python/commitdiff
Remove an unneeded cast.
authorBrett Cannon <brett@python.org>
Fri, 10 Jan 2014 12:43:55 +0000 (07:43 -0500)
committerBrett Cannon <brett@python.org>
Fri, 10 Jan 2014 12:43:55 +0000 (07:43 -0500)
Python/import.c

index bb2f84af09555a5f099a55ab61fe7aa2c7a66634..be0995dac690a85952e0d9e5be48bacbe95ae13b 100644 (file)
@@ -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;
 }