summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-03-19 20:49:09 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:56:08 -0500
commit0fcb427f78cbce93be85720656c767f545cd84ff (patch)
tree80b00e3fce304130177c0745ad7aa1014da5b413 /source3/lib
parent4b122ce2da493e3abd1ca54dd2ce8b9752e70ec8 (diff)
downloadsamba-0fcb427f78cbce93be85720656c767f545cd84ff.tar.gz
samba-0fcb427f78cbce93be85720656c767f545cd84ff.tar.bz2
samba-0fcb427f78cbce93be85720656c767f545cd84ff.zip
r5907: Fix compile warning noticed by Jason Mader <jason@ncac.gwu.edu>.
Bug #2483. Jeremy. (This used to be commit f6db0f5e8aaa8cfc65031d19a231f7a5a68796a7)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/data_blob.c2
1 files changed, 1 insertions, 1 deletions
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;