summaryrefslogtreecommitdiff
path: root/source/lib
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
commitab849a97821c9e1f199eea8ea2ec477687bed947 (patch)
tree9f2544199b1b3c70a03c99b4f7a27aae43b912b5 /source/lib
parent426cd6b2ded4725186a9262f13a327d8cf94364b (diff)
downloadsamba-ab849a97821c9e1f199eea8ea2ec477687bed947.tar.gz
casting cleanups
Diffstat (limited to 'source/lib')
-rw-r--r--source/lib/util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/lib/util.c b/source/lib/util.c
index 36e9e326acf..5c243204d02 100644
--- a/source/lib/util.c
+++ b/source/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;