summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib')
-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 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;
}