]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
iptables-xml: resolve compiler warnings
authorJan Engelhardt <jengelh@medozas.de>
Mon, 13 Sep 2010 13:35:18 +0000 (15:35 +0200)
committerJan Engelhardt <jengelh@medozas.de>
Mon, 13 Sep 2010 13:35:18 +0000 (15:35 +0200)
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>
iptables-xml.c

index daf4208430d46da22b5bafb5800bb51b5f334cb9..32d996aea89e0fc068fcf4f728e0fe166922c9f9 100644 (file)
@@ -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;