diff options
-rw-r--r-- | Modules/_lsprof.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_lsprof.c b/Modules/_lsprof.c index 0da818b..dd74a43 100644 --- a/Modules/_lsprof.c +++ b/Modules/_lsprof.c @@ -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); } |