summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2007-08-26 05:32:41 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2007-08-26 05:32:41 (GMT)
commit5616c6d6904e7863a0400a549fac7d1a50635ed0 (patch)
tree27fe7409fd2ddd033c57360561bccada2c8629ce /Python
parent3c814d2550b607672365b645b3283685858f7a82 (diff)
downloadcpython-5616c6d6904e7863a0400a549fac7d1a50635ed0.zip
cpython-5616c6d6904e7863a0400a549fac7d1a50635ed0.tar.gz
cpython-5616c6d6904e7863a0400a549fac7d1a50635ed0.tar.bz2
Fix a couple of warnings
Diffstat (limited to 'Python')
-rw-r--r--Python/import.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/import.c b/Python/import.c
index 72138c2..24eeada 100644
--- a/Python/import.c
+++ b/Python/import.c
@@ -2366,7 +2366,7 @@ PyImport_ReloadModule(PyObject *m)
"reload() argument must be module");
return NULL;
}
- name = PyModule_GetName(m);
+ name = (char*)PyModule_GetName(m);
if (name == NULL)
return NULL;
if (m != PyDict_GetItemString(modules, name)) {