1
0
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:
Volker Lendecke
2006-08-01 12:45:12 +00:00
committed by Gerald (Jerry) Carter
parent c085355c32
commit fd82f185a2
9 changed files with 45 additions and 32 deletions

View File

@@ -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;