From 5616c6d6904e7863a0400a549fac7d1a50635ed0 Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Sun, 26 Aug 2007 05:32:41 +0000 Subject: Fix a couple of warnings --- Python/import.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Python') diff --git a/Python/import.c b/Python/import.c index 72138c2ea8..24eeada69d 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)) { -- cgit v1.2.1