Index: lib/data_blob.c =================================================================== --- lib/data_blob.c (revision 5865) +++ lib/data_blob.c (working copy) @@ -47,7 +47,7 @@ if (p) { ret.data = smb_xmemdup(p, length); } else { - ret.data = SMB_XMALLOC_ARRAY(char, length); + ret.data = SMB_XMALLOC_ARRAY(unsigned char, length); } ret.length = length; ret.free = free_data_blob;