mirror of
https://github.com/samba-team/samba.git
synced 2025-12-12 12:23:50 +03:00
r17363: Some C++ warnings
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
c085355c32
commit
fd82f185a2
@@ -319,7 +319,8 @@ BOOL smb_io_relarraystr(const char *desc, RPC_BUFFER *buffer, int depth, uint16
|
||||
|
||||
/* Yes this should be malloc not talloc. Don't change. */
|
||||
|
||||
chaine.buffer = SMB_MALLOC((q-p+1)*sizeof(uint16));
|
||||
chaine.buffer = (uint16 *)
|
||||
SMB_MALLOC((q-p+1)*sizeof(uint16));
|
||||
if (chaine.buffer == NULL)
|
||||
return False;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user