From 81f6d0b0150672ab7546f667ab00f58e9152d782 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sat, 6 Nov 2004 20:06:56 +0000 Subject: r3581: fix some signedness warnings with gcc-4.0 (there some callers to be fixed later) metze (This used to be commit dfb062c63c5445023055045ba40979eb58f1740e) --- source4/lib/util.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source4') diff --git a/source4/lib/util.c b/source4/lib/util.c index d8e9cb50f9..1202cb3aae 100644 --- a/source4/lib/util.c +++ b/source4/lib/util.c @@ -565,9 +565,8 @@ static void print_asc(int level, const uint8_t *buf,int len) DEBUGADD(level,("%c", isprint(buf[i])?buf[i]:'.')); } -void dump_data(int level, const char *buf1,int len) +void dump_data(int level, const uint8_t *buf,int len) { - const uint8_t *buf = (const uint8_t *)buf1; int i=0; if (len<=0) return; -- cgit