diff options
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; } - - |