diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-11-25 19:12:16 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:06:08 -0500 |
commit | 4bc68cba73cfdf8f6aac75d8fcc1bdb22f29acd3 (patch) | |
tree | 339adc3a8dbeb0be59e6487e7d58d04dd0e62d66 /source4/lib | |
parent | 3acaf09bd8e1c418e32a6a98a33f6df96a3d534b (diff) | |
download | samba-4bc68cba73cfdf8f6aac75d8fcc1bdb22f29acd3.tar.gz samba-4bc68cba73cfdf8f6aac75d8fcc1bdb22f29acd3.tar.bz2 samba-4bc68cba73cfdf8f6aac75d8fcc1bdb22f29acd3.zip |
r3965: fix compiler warnings
metze
(This used to be commit 0614fa3b168265e69a611936dd7c1f7a078e53dd)
Diffstat (limited to 'source4/lib')
-rw-r--r-- | source4/lib/util.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source4/lib/util.c b/source4/lib/util.c index 1202cb3aae..2351a98eae 100644 --- 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; } - - |