summaryrefslogtreecommitdiffstats
path: root/test/l2test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/l2test.c')
-rw-r--r--test/l2test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/l2test.c b/test/l2test.c
index 8d337a9d..f475aa4b 100644
--- a/test/l2test.c
+++ b/test/l2test.c
@@ -131,7 +131,7 @@ static char *ctoh(char c, char* s)
return s;
}
-static void hexdump(char *s, unsigned long l)
+static void hexdump(unsigned char *s, unsigned long l)
{
char bfr[80];
char *pb;
@@ -477,7 +477,7 @@ static void dump_mode(int sk)
}
syslog(LOG_INFO, "Recevied %d bytes", len);
- hexdump(buf,len);
+ hexdump(buf, len);
}
}