git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7218d1
)
r5907: Fix compile warning noticed by Jason Mader <jason@ncac.gwu.edu>.
author
Jeremy Allison
<jra@samba.org>
Sat, 19 Mar 2005 20:49:09 +0000
(20:49 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 15:56:08 +0000
(10:56 -0500)
Bug #2483.
Jeremy.
source/lib/data_blob.c
patch
|
blob
|
history
diff --git
a/source/lib/data_blob.c
b/source/lib/data_blob.c
index a1c3af2d492e8e47a2c6ea96801f0e3e52c103e8..35805f861c5f4d0b75a8e7c89f29827abbffa27f 100644
(file)
--- 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;