summaryrefslogtreecommitdiffstats
path: root/userspace/ebtables2/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
commit39a1261a723c3c1d1860176cbad4eca17d858b94 (patch)
tree6d98375dd91fa176e4df4204cee525d85a03eab5 /userspace/ebtables2/extensions/ebt_among.c
parentb6e00345ebf01b06d792cd89522e6b7b114783f7 (diff)
remove unsigned char * warning with gcc 4.0
Diffstat (limited to 'userspace/ebtables2/extensions/ebt_among.c')
-rw-r--r--userspace/ebtables2/extensions/ebt_among.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/userspace/ebtables2/extensions/ebt_among.c b/userspace/ebtables2/extensions/ebt_among.c
index 65ce481..7e01b49 100644
--- a/userspace/ebtables2/extensions/ebt_among.c
+++ b/userspace/ebtables2/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]);