diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2007-08-27 02:10:06 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2007-08-27 02:10:06 (GMT) |
commit | 1e93f2b5bea9a6c59bb7c61bbaf8fcbb2828d1a4 (patch) | |
tree | b510f5bed7c1ab59b7adc47af9cb2bbda0aea38d /Modules/_lsprof.c | |
parent | ab45e27f6927729233f7f5d08d41285f5332265f (diff) | |
download | cpython-1e93f2b5bea9a6c59bb7c61bbaf8fcbb2828d1a4.zip cpython-1e93f2b5bea9a6c59bb7c61bbaf8fcbb2828d1a4.tar.gz cpython-1e93f2b5bea9a6c59bb7c61bbaf8fcbb2828d1a4.tar.bz2 |
Fix warning
Diffstat (limited to 'Modules/_lsprof.c')
-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); } |