From f6db0f5e8aaa8cfc65031d19a231f7a5a68796a7 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Sat, 19 Mar 2005 20:49:09 +0000 Subject: [PATCH] r5907: Fix compile warning noticed by Jason Mader . Bug #2483. Jeremy. --- source/lib/data_blob.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/lib/data_blob.c b/source/lib/data_blob.c index a1c3af2d492..35805f861c5 100644 --- a/source/lib/data_blob.c +++ b/source/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; -- 2.47.3