summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2012-11-27 19:18:12 +0000
committerMorgan Deters <mdeters@gmail.com>2012-11-27 19:18:12 +0000
commit49da3204bbb10fbcd87923428f3b476ba5b57af6 (patch)
tree9408afc6a466f799453de0399e8363d081f37483 /src
parenta1fa0d6a3d185c3f9089542893295ea001734289 (diff)
more mac fixes
Diffstat (limited to 'src')
-rw-r--r--src/main/interactive_shell.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/interactive_shell.cpp b/src/main/interactive_shell.cpp
index 7cef623e9..c1d2c2bb1 100644
--- a/src/main/interactive_shell.cpp
+++ b/src/main/interactive_shell.cpp
@@ -98,7 +98,7 @@ InteractiveShell::InteractiveShell(ExprManager& exprManager,
#if READLINE_COMPENTRY_FUNC_RETURNS_CHARP
::rl_completion_entry_function = commandGenerator;
#else /* READLINE_COMPENTRY_FUNC_RETURNS_CHARP */
- ::rl_completion_entry_function = (Function) commandGenerator;
+ ::rl_completion_entry_function = (int (*)(const char*, int)) commandGenerator;
#endif /* READLINE_COMPENTRY_FUNC_RETURNS_CHARP */
::using_history();
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback