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:
3acaf09
)
r3965: fix compiler warnings
author
Stefan Metzmacher
<metze@samba.org>
Thu, 25 Nov 2004 19:12:16 +0000
(19:12 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:06:08 +0000
(13:06 -0500)
metze
(This used to be commit
0614fa3b168265e69a611936dd7c1f7a078e53dd
)
source4/lib/util.c
patch
|
blob
|
history
diff --git
a/source4/lib/util.c
b/source4/lib/util.c
index 1202cb3aaeef7f446be852238b46d3c5eb9809ef..2351a98eae2782eb454d7b0566d71562158d3b75 100644
(file)
--- a/
source4/lib/util.c
+++ b/
source4/lib/util.c
@@
-787,7
+787,7
@@
void dump_data_pw(const char *msg, const uint8_t * data, size_t len)
/* see if a range of memory is all zero. A NULL pointer is considered
to be all zero */
-BOOL all_zero(const
char
*ptr, uint_t size)
+BOOL all_zero(const
uint8_t
*ptr, uint_t size)
{
int i;
if (!ptr) return True;
@@
-796,5
+796,3
@@
BOOL all_zero(const char *ptr, uint_t size)
}
return True;
}
-
-