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

r5907: Fix compile warning noticed by Jason Mader <jason@ncac.gwu.edu>.

Bug #2483.
Jeremy.
(This used to be commit f6db0f5e8a)
This commit is contained in:
Jeremy Allison
2005-03-19 20:49:09 +00:00
committed by Gerald (Jerry) Carter
parent 4b122ce2da
commit 0fcb427f78

View File

@ -47,7 +47,7 @@ DATA_BLOB data_blob(const void *p, size_t length)
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;