diff options
-rw-r--r-- | source/lib/readline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/readline.c b/source/lib/readline.c index 6fed929be06..7c127817be4 100644 --- a/source/lib/readline.c +++ b/source/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; } |