1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-08 05:57:51 +03:00

Fixed compiler warning.

This commit is contained in:
Tim Potter -
parent e881971503
commit 063c2dea92

View File

@ -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;