diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/pyinterp.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pyinterp.cc b/src/pyinterp.cc index 72995eb6..25779d20 100644 --- a/src/pyinterp.cc +++ b/src/pyinterp.cc @@ -157,7 +157,7 @@ void python_interpreter_t::initialize() // interpreter with Py_Finalize when embedded. Py_UnbufferedStdioFlag = 1; // PyImport_AppendInittab docs: "This should be called before Py_Initialize()". - PyImport_AppendInittab((char*)"ledger", PyInit_ledger); + PyImport_AppendInittab((const char*)"ledger", PyInit_ledger); #endif Py_Initialize(); |