aboutsummaryrefslogtreecommitdiffstats
path: root/main/sqsh/readline-6.3.patch
blob: 7a8250dcced1b86e35fc711bbfd77460a2b06e0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/sqsh_readline.c b/src/sqsh_readline.c
index 2ec565d..f30c119 100644
--- a/src/sqsh_readline.c
+++ b/src/sqsh_readline.c
@@ -159,7 +159,7 @@ int sqsh_readline_init()
 
     rl_readline_name                 = "sqsh" ;
     rl_completion_entry_function     = (rl_compentry_func_t*)sqsh_completion ;
-    rl_attempted_completion_function = (CPPFunction*)sqsh_completion ;
+    rl_attempted_completion_function = (rl_completion_func_t*)sqsh_completion ;
 
     /*
      * sqsh-2.1.8 - Remove '@' and '$' from the readline default list of word break