summaryrefslogtreecommitdiffstats
path: root/source3/lib/readline.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-11-16 22:22:05 +0100
committerMichael Adam <obnox@samba.org>2007-11-16 22:22:05 +0100
commitb3976c2ea25732a9f939fbc23020b7ab54c67783 (patch)
tree72d0bc2310920dab49084e6804cbc3974aae61b5 /source3/lib/readline.c
parentacb829ecc3b9af3f141425ecac032a7c722a1815 (diff)
downloadsamba-b3976c2ea25732a9f939fbc23020b7ab54c67783.tar.gz
samba-b3976c2ea25732a9f939fbc23020b7ab54c67783.tar.xz
samba-b3976c2ea25732a9f939fbc23020b7ab54c67783.zip
Fix an implicit cast warning.
Michael (This used to be commit d2c7417393e58de12b5747b9d6c19aea3c343ea5)
Diffstat (limited to 'source3/lib/readline.c')
-rw-r--r--source3/lib/readline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/readline.c b/source3/lib/readline.c
index 6fed929be06..7c127817be4 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;
}