From 39a1261a723c3c1d1860176cbad4eca17d858b94 Mon Sep 17 00:00:00 2001 From: Bart De Schuymer Date: Mon, 23 Jan 2006 18:50:54 +0000 Subject: remove unsigned char * warning with gcc 4.0 --- userspace/ebtables2/extensions/ebt_among.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'userspace/ebtables2/extensions/ebt_among.c') 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]); -- cgit v1.2.3