summaryrefslogtreecommitdiffstats
path: root/source3/lib/util.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1997-10-20 02:50:12 +0000
committerAndrew Tridgell <tridge@samba.org>1997-10-20 02:50:12 +0000
commitf4b4b3e6e35916dc5e280542f5f914e40b25dd21 (patch)
tree5b5ec7d180ed210ca68cfbd989b82b12f28846d3 /source3/lib/util.c
parent7d711a6d0d3e2a974c00cdaa622f8b8d9fd35def (diff)
downloadsamba-f4b4b3e6e35916dc5e280542f5f914e40b25dd21.tar.gz
samba-f4b4b3e6e35916dc5e280542f5f914e40b25dd21.tar.xz
samba-f4b4b3e6e35916dc5e280542f5f914e40b25dd21.zip
casting cleanups
(This used to be commit ab849a97821c9e1f199eea8ea2ec477687bed947)
Diffstat (limited to 'source3/lib/util.c')
-rw-r--r--source3/lib/util.c3
1 files changed, 2 insertions, 1 deletions
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;