git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
998fcd3
)
Fixed compiler warning.
author
Tim Potter
<tpot@samba.org>
Mon, 7 May 2001 01:08:41 +0000
(
01:08
+0000)
committer
Tim Potter
<tpot@samba.org>
Mon, 7 May 2001 01:08:41 +0000
(
01:08
+0000)
(This used to be commit
063c2dea920dbf415e22d0359baa7b36bf513f09
)
source3/lib/readline.c
patch
|
blob
|
history
diff --git
a/source3/lib/readline.c
b/source3/lib/readline.c
index 75a38c68521f9c79e1763275824f79032b735f56..a524e1a7f04b9db7071c11fee9c42ce030cb700e 100644
(file)
--- a/
source3/lib/readline.c
+++ b/
source3/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;