summaryrefslogtreecommitdiffstats
path: root/source/lib/data_blob.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/lib/data_blob.c')
-rw-r--r--source/lib/data_blob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/data_blob.c b/source/lib/data_blob.c
index 35805f861c5..a1c3af2d492 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(unsigned char, length);
+ ret.data = SMB_XMALLOC_ARRAY(char, length);
}
ret.length = length;
ret.free = free_data_blob;