From 510c9ce916464d6958c4394169fb5e885f4d3a06 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 --- extensions/ebt_among.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extensions/ebt_among.c') 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]); -- cgit v1.2.3