summaryrefslogtreecommitdiffstats
path: root/test/l2test.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2005-07-05 21:15:41 +0000
committerMarcel Holtmann <marcel@holtmann.org>2005-07-05 21:15:41 +0000
commit1f422e5f2b343d35a8c77ce4be16f74b2819b2bf (patch)
treee24bdebe86afcff3ce29cc0f47f05caec7ab7bc0 /test/l2test.c
parent952e7cc56afa29f77a828aa256985ba38a06fa80 (diff)
Fix some GCC 4.0 warnings
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);
}
}