Fix warning

This commit is contained in:
Neal Norwitz 2007-08-27 02:10:06 +00:00
parent ab45e27f69
commit 1e93f2b5be
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ normalizeUserObj(PyObject *obj)
if (fn->m_self == NULL) {
/* built-in function: look up the module name */
PyObject *mod = fn->m_module;
char *modname;
const char *modname;
if (mod && PyString_Check(mod)) {
modname = PyString_AS_STRING(mod);
}