summaryrefslogtreecommitdiff
path: root/src/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cc')
-rw-r--r--src/main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cc b/src/main.cc
index 3cdc6cf4..63115dd3 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -222,7 +222,7 @@ int main(int argc, char * argv[], char * envp[])
#ifdef HAVE_LIBEDIT
- rl_readline_name = "Ledger";
+ rl_readline_name = const_cast<char *>("Ledger");
#if 0
rl_attempted_completion_function = ledger_completion;
#endif