1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

Fixed compiler warning.

(This used to be commit 063c2dea920dbf415e22d0359baa7b36bf513f09)
This commit is contained in:
Tim Potter 2001-05-07 01:08:41 +00:00
parent 998fcd3f1e
commit 3bb92410a4

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;