[Bug 2483] wrong type used in SMB_XMALLOC_ARRAY
Jason Mader
jason at ncac.gwu.edu
Sat Mar 19 17:36:16 GMT 2005
I've reported this as Bug 2483 for Samba 3.0.12.
Compiling lib/data_blob.c
cc-1515 cc: WARNING File = lib/data_blob.c, Line = 50
A value of type "char *" cannot be assigned to an entity of type
"unsigned char *".
ret.data = SMB_XMALLOC_ARRAY(char, length);
^
This warning can be fixed easily by changing "char" to "unsigned char."
---Jason Mader, FHWA/NHTSA National Crash Analysis Center,
The George Washington University, VA Campus
More information about the samba-technical
mailing list