summaryrefslogtreecommitdiff
path: root/src/pyinterp.cc
diff options
context:
space:
mode:
authorMartin Michlmayr <tbm@cyrius.com>2020-05-18 13:17:24 +0800
committerMartin Michlmayr <tbm@cyrius.com>2020-05-18 13:17:24 +0800
commit4c9ea1423540ef793107dd64097335b81a9baa59 (patch)
treea6742661318085c5b8817ba43e0d0824cc572dc9 /src/pyinterp.cc
parent87475cba0c753cb31d912b18d2b9e82d83a9b01c (diff)
downloadfork-ledger-4c9ea1423540ef793107dd64097335b81a9baa59.tar.gz
fork-ledger-4c9ea1423540ef793107dd64097335b81a9baa59.tar.bz2
fork-ledger-4c9ea1423540ef793107dd64097335b81a9baa59.zip
Fix compilation warning
Diffstat (limited to 'src/pyinterp.cc')
-rw-r--r--src/pyinterp.cc2
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();