diff options
author | Tim Potter <tpot@samba.org> | 2001-05-07 01:08:41 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2001-05-07 01:08:41 +0000 |
commit | 063c2dea920dbf415e22d0359baa7b36bf513f09 (patch) | |
tree | 0242918a95fed7c43d34e6901557fd38ef480fe7 /source/lib/readline.c | |
parent | e8819715038ed49b07ed5639b1b88ad12e994b53 (diff) | |
download | samba-063c2dea920dbf415e22d0359baa7b36bf513f09.tar.gz samba-063c2dea920dbf415e22d0359baa7b36bf513f09.tar.xz samba-063c2dea920dbf415e22d0359baa7b36bf513f09.zip |
Fixed compiler warning.
Diffstat (limited to 'source/lib/readline.c')
-rw-r--r-- | source/lib/readline.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/lib/readline.c b/source/lib/readline.c index 75a38c68521..a524e1a7f04 100644 --- a/source/lib/readline.c +++ b/source/lib/readline.c @@ -49,7 +49,8 @@ char *smb_readline(char *prompt, void (*callback)(void), char *ret; #if HAVE_LIBREADLINE if (completion_fn) { - rl_attempted_completion_function = completion_fn; + rl_attempted_completion_function = + (rl_completion_func_t *)completion_fn; } if (callback) rl_event_hook = (Function *)callback; |