From 429418d1bcf90d73b087e2eecc27a9ed7128a572 Mon Sep 17 00:00:00 2001 From: rbuj Date: Wed, 13 Oct 2021 19:15:41 +0200 Subject: caja-python: do not discard const modifier in PyImport_ImportModuleEx PyObject *PyImport_ImportModuleEx(const char *name, PyObject *globals, PyObject *locals, PyObject *fromlist) --- src/caja-python.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- cgit v1.2.1