Commit 1e93f2b5 authored by Neal Norwitz's avatar Neal Norwitz

Fix warning

parent ab45e27f
......@@ -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);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment