diff options
Diffstat (limited to 'iptables-restore.c')
-rw-r--r-- | iptables-restore.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/iptables-restore.c b/iptables-restore.c index cd23cfa2..e2d1859e 100644 --- a/iptables-restore.c +++ b/iptables-restore.c @@ -83,9 +83,7 @@ static int parse_counters(char *string, struct ipt_counters *ctr) unsigned long long pcnt, bcnt; int ret; - ret = sscanf(string, "[%llu:%llu]", - (unsigned long long *)&pcnt, - (unsigned long long *)&bcnt); + ret = sscanf(string, "[%llu:%llu]", &pcnt, &bcnt); ctr->pcnt = pcnt; ctr->bcnt = bcnt; return ret == 2; |