diff options
author | rbuj <[email protected]> | 2021-10-13 19:15:41 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-10-26 13:34:05 +0200 |
commit | 429418d1bcf90d73b087e2eecc27a9ed7128a572 (patch) | |
tree | e67da744fed6803df8d0f28bdf95ca7c5dd8a5d4 /src | |
parent | 97b29ba57a0b31f6652857d9075739a667316dee (diff) | |
download | python-caja-429418d1bcf90d73b087e2eecc27a9ed7128a572.tar.bz2 python-caja-429418d1bcf90d73b087e2eecc27a9ed7128a572.tar.xz |
caja-python: do not discard const modifier in PyImport_ImportModuleEx
PyObject *PyImport_ImportModuleEx(const char *name,
PyObject *globals, PyObject *locals, PyObject *fromlist)
Diffstat (limited to 'src')
-rw-r--r-- | src/caja-python.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/caja-python.c b/src/caja-python.c index 7d8e526..e516ff8 100644 --- a/src/caja-python.c +++ b/src/caja-python.c @@ -107,7 +107,7 @@ caja_python_load_file(GTypeModule *type_module, } main_locals = PyModule_GetDict(main_module); - module = PyImport_ImportModuleEx((char *) filename, main_locals, main_locals, NULL); + module = PyImport_ImportModuleEx(filename, main_locals, main_locals, NULL); if (!module) { PyErr_Print(); |