Kaydet (Commit) 1e93f2b5 authored tarafından Neal Norwitz's avatar Neal Norwitz

Fix warning

üst ab45e27f
...@@ -178,7 +178,7 @@ normalizeUserObj(PyObject *obj) ...@@ -178,7 +178,7 @@ normalizeUserObj(PyObject *obj)
if (fn->m_self == NULL) { if (fn->m_self == NULL) {
/* built-in function: look up the module name */ /* built-in function: look up the module name */
PyObject *mod = fn->m_module; PyObject *mod = fn->m_module;
char *modname; const char *modname;
if (mod && PyString_Check(mod)) { if (mod && PyString_Check(mod)) {
modname = PyString_AS_STRING(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