diff options
Diffstat (limited to 'src/openbox.cc')
| -rw-r--r-- | src/openbox.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openbox.cc b/src/openbox.cc index 75d56041..7a025242 100644 --- a/src/openbox.cc +++ b/src/openbox.cc @@ -155,7 +155,7 @@ Openbox::Openbox(int argc, char **argv) if (!rcpyfd) { printf("failed to load python file %s\n", _scriptfilepath.c_str()); } else { - PyRun_SimpleFile(rcpyfd, _scriptfilepath.c_str()); + PyRun_SimpleFile(rcpyfd, const_cast<char*>(_scriptfilepath.c_str())); fclose(rcpyfd); } |
