summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/util.c3
1 files changed, 1 insertions, 2 deletions
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;