mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
Fix an implicit cast warning.
Michael
(This used to be commit d2c7417393
)
This commit is contained in:
parent
acb829ecc3
commit
b3976c2ea2
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user