From a28d495285ad7dd9f286d63958cf20d74eec6bcb Mon Sep 17 00:00:00 2001 From: Martin Josefsson Date: Wed, 26 May 2004 16:04:48 +0000 Subject: Get rid of some warnings when compiling 64bit. --- libiptc/libip6tc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libiptc/libip6tc.c') diff --git a/libiptc/libip6tc.c b/libiptc/libip6tc.c index f7947db7..6400ce30 100644 --- a/libiptc/libip6tc.c +++ b/libiptc/libip6tc.c @@ -176,7 +176,7 @@ dump_entry(struct ip6t_entry *e, const ip6tc_handle_t handle) printf("Flags: %02X\n", e->ipv6.flags); printf("Invflags: %02X\n", e->ipv6.invflags); printf("Counters: %llu packets, %llu bytes\n", - e->counters.pcnt, e->counters.bcnt); + (unsigned long long)e->counters.pcnt, (unsigned long long)e->counters.bcnt); printf("Cache: %08X ", e->nfcache); if (e->nfcache & NFC_ALTERED) printf("ALTERED "); if (e->nfcache & NFC_UNKNOWN) printf("UNKNOWN "); -- cgit v1.2.3