summaryrefslogtreecommitdiffstats
path: root/Python/import.c
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2014-01-10 12:43:55 (GMT)
committerBrett Cannon <brett@python.org>2014-01-10 12:43:55 (GMT)
commita6dec2e74426ea0ae271c31523d4c6c9e60aa9c7 (patch)
tree3a17bdd61dfd7336e67f37a9303cdbc18fa32967 /Python/import.c
parent786ac7b27d6eb36a53a91c41877f5cf86aa4f55f (diff)
downloadcpython-a6dec2e74426ea0ae271c31523d4c6c9e60aa9c7.zip
cpython-a6dec2e74426ea0ae271c31523d4c6c9e60aa9c7.tar.gz
cpython-a6dec2e74426ea0ae271c31523d4c6c9e60aa9c7.tar.bz2
Remove an unneeded cast.
Diffstat (limited to 'Python/import.c')
-rw-r--r--Python/import.c2
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;
}