1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-02 00:22:11 +03:00

Adding Herb's compile warning fixes to HEAD.

Jeremy.
This commit is contained in:
Jeremy Allison
-
parent f2f373df67
commit d131ad1ce3
13 changed files with 32 additions and 73 deletions

View File

@ -620,7 +620,7 @@ BOOL smb_io_buffer3(char *desc, BUFFER3 *buf3, prs_struct *ps, int depth)
return False;
if (UNMARSHALLING(ps)) {
buf3->buffer = prs_alloc_mem(ps, buf3->buf_max_len);
buf3->buffer = (unsigned char *)prs_alloc_mem(ps, buf3->buf_max_len);
if (buf3->buffer == NULL)
return False;
}