Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1e93f2b

Browse files
committed
Fix warning
1 parent ab45e27 commit 1e93f2b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/_lsprof.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ normalizeUserObj(PyObject *obj)
178178
if (fn->m_self == NULL) {
179179
/* built-in function: look up the module name */
180180
PyObject *mod = fn->m_module;
181-
char *modname;
181+
const char *modname;
182182
if (mod && PyString_Check(mod)) {
183183
modname = PyString_AS_STRING(mod);
184184
}

0 commit comments

Comments
 (0)