From: Neal Norwitz Date: Mon, 27 Aug 2007 02:10:06 +0000 (+0000) Subject: Fix warning X-Git-Tag: v3.0a1~219 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1e93f2b5bea9a6c59bb7c61bbaf8fcbb2828d1a4;p=thirdparty%2FPython%2Fcpython.git Fix warning --- diff --git a/Modules/_lsprof.c b/Modules/_lsprof.c index 0da818b4f936..dd74a436bbf3 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); }