summaryrefslogtreecommitdiffstats
path: root/extensions/ebt_among.c
diff options
context:
space:
mode:
authorBart De Schuymer <bdschuym@pandora.be>2006-01-23 18:50:54 +0000
committerBart De Schuymer <bdschuym@pandora.be>2006-01-23 18:50:54 +0000
commit510c9ce916464d6958c4394169fb5e885f4d3a06 (patch)
tree8cc6d20db5724c7a2c120306cbd70ec90ab8adfd /extensions/ebt_among.c
parent639bbe9d2f41b776bc3384590151265367de01d9 (diff)
remove unsigned char * warning with gcc 4.0
Diffstat (limited to 'extensions/ebt_among.c')
-rw-r--r--extensions/ebt_among.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/ebt_among.c b/extensions/ebt_among.c
index 65ce481..7e01b49 100644
--- a/extensions/ebt_among.c
+++ b/extensions/ebt_among.c
@@ -375,7 +375,7 @@ static void wormhash_printout(const struct ebt_mac_wormhash *wh)
const struct ebt_mac_wormhash_tuple *p;
p = (const struct ebt_mac_wormhash_tuple *)(&wh->pool[i]);
- ebt_print_mac(((const char *) &p->cmp[0]) + 2);
+ ebt_print_mac(((const unsigned char *) &p->cmp[0]) + 2);
if (p->ip) {
ip = (unsigned char *) &p->ip;
printf("=%u.%u.%u.%u", ip[0], ip[1], ip[2], ip[3]);