From 0fcb427f78cbce93be85720656c767f545cd84ff Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Sat, 19 Mar 2005 20:49:09 +0000 Subject: r5907: Fix compile warning noticed by Jason Mader . Bug #2483. Jeremy. (This used to be commit f6db0f5e8aaa8cfc65031d19a231f7a5a68796a7) --- source3/lib/data_blob.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/lib/data_blob.c b/source3/lib/data_blob.c index a1c3af2d49..35805f861c 100644 --- a/source3/lib/data_blob.c +++ b/source3/lib/data_blob.c @@ -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; -- cgit