From 4bc68cba73cfdf8f6aac75d8fcc1bdb22f29acd3 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 25 Nov 2004 19:12:16 +0000 Subject: r3965: fix compiler warnings metze (This used to be commit 0614fa3b168265e69a611936dd7c1f7a078e53dd) --- source4/lib/util.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'source4/lib') 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; } - - -- cgit