From f4b4b3e6e35916dc5e280542f5f914e40b25dd21 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 20 Oct 1997 02:50:12 +0000 Subject: casting cleanups (This used to be commit ab849a97821c9e1f199eea8ea2ec477687bed947) --- source3/lib/util.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3/lib/util.c') diff --git a/source3/lib/util.c b/source3/lib/util.c index 36e9e326ac..5c243204d0 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -4414,8 +4414,9 @@ static void print_asc(int level, unsigned char *buf,int len) DEBUG(level,("%c", isprint(buf[i])?buf[i]:'.')); } -void dump_data(int level,unsigned char *buf,int len) +void dump_data(int level,char *buf1,int len) { + unsigned char *buf = (unsigned char *)buf1; int i=0; if (len<=0) return; -- cgit