summaryrefslogtreecommitdiffstats
path: root/iptables-xml.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2010-09-13 15:35:18 +0200
committerJan Engelhardt <jengelh@medozas.de>2010-09-13 15:35:18 +0200
commit0195836374cd195b13e0653ec9355a8ecd174313 (patch)
treeffe21c2f4aa4c9c05bd380f03cf4a4fcf0f885f3 /iptables-xml.c
parent0428e5a6541c3f5eaaf683d8da9ea60c44eac4c7 (diff)
iptables-xml: resolve compiler warnings
iptables-xml.c: In function "parse_counters": iptables-xml.c:70:8: warning: assignment from incompatible pointer type iptables-xml.c:71:8: warning: assignment from incompatible pointer type Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'iptables-xml.c')
-rw-r--r--iptables-xml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iptables-xml.c b/iptables-xml.c
index daf42084..32d996ae 100644
--- a/iptables-xml.c
+++ b/iptables-xml.c
@@ -64,7 +64,7 @@ print_usage(const char *name, const char *version)
static int
parse_counters(char *string, struct ipt_counters *ctr)
{
- u_int64_t *pcnt, *bcnt;
+ __u64 *pcnt, *bcnt;
if (string != NULL) {
pcnt = &ctr->pcnt;