commit | 1e93f2b5bea9a6c59bb7c61bbaf8fcbb2828d1a4 | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Mon Aug 27 02:10:06 2007 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Mon Aug 27 02:10:06 2007 +0000 |
tree | b510f5bed7c1ab59b7adc47af9cb2bbda0aea38d | |
parent | ab45e27f6927729233f7f5d08d41285f5332265f [diff] [blame] |
Fix warning
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 @@ 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); }