diff Python/import.c @ 42859:036598de4660

Fix a couple of warnings
author Neal Norwitz <nnorwitz@gmail.com>
date Sun, 26 Aug 2007 05:32:41 +0000
parents d7517c306791
children ed1594a16bdb
line wrap: on
line diff
--- a/Python/import.c	Sun Aug 26 05:08:21 2007 +0000
+++ b/Python/import.c	Sun Aug 26 05:32:41 2007 +0000
@@ -2366,7 +2366,7 @@
 				"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)) {