diff options
author | Michael Adam <obnox@samba.org> | 2007-11-16 22:22:05 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2007-11-16 22:22:05 +0100 |
commit | b3976c2ea25732a9f939fbc23020b7ab54c67783 (patch) | |
tree | 72d0bc2310920dab49084e6804cbc3974aae61b5 | |
parent | acb829ecc3b9af3f141425ecac032a7c722a1815 (diff) | |
download | samba-b3976c2ea25732a9f939fbc23020b7ab54c67783.tar.gz samba-b3976c2ea25732a9f939fbc23020b7ab54c67783.tar.bz2 samba-b3976c2ea25732a9f939fbc23020b7ab54c67783.zip |
Fix an implicit cast warning.
Michael
(This used to be commit d2c7417393e58de12b5747b9d6c19aea3c343ea5)
-rw-r--r-- | source3/lib/readline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/readline.c b/source3/lib/readline.c index 6fed929be0..7c127817be 100644 --- a/source3/lib/readline.c +++ b/source3/lib/readline.c @@ -65,7 +65,7 @@ static char *smb_readline_replacement(const char *prompt, void (*callback)(void) } if (line == NULL) { - line = SMB_MALLOC(BUFSIZ); + line = (char *)SMB_MALLOC(BUFSIZ); if (!line) { return NULL; } |