From: Jan Engelhardt Date: Mon, 13 Sep 2010 13:35:18 +0000 (+0200) Subject: iptables-xml: resolve compiler warnings X-Git-Tag: v1.4.10~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0195836374cd195b13e0653ec9355a8ecd174313;p=thirdparty%2Fiptables.git 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 --- 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;