summaryrefslogtreecommitdiffstats
path: root/ip6tables-restore.c
diff options
context:
space:
mode:
authorgandalf <gandalf>2004-05-26 16:04:48 +0000
committergandalf <gandalf>2004-05-26 16:04:48 +0000
commitc5a2851e96afd3e06785551ab90eb1157407e6cb (patch)
treebb98ee50030d4eb2757b490aad389e896f4db537 /ip6tables-restore.c
parent74c5da055ef1239a504d4624a7e1a1e5e46a5cf0 (diff)
Get rid of some warnings when compiling 64bit.
Diffstat (limited to 'ip6tables-restore.c')
-rw-r--r--ip6tables-restore.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ip6tables-restore.c b/ip6tables-restore.c
index cf23058..906f93e 100644
--- a/ip6tables-restore.c
+++ b/ip6tables-restore.c
@@ -7,7 +7,7 @@
* Rusty Russell <rusty@linuxcare.com.au>
* This code is distributed under the terms of GNU GPL v2
*
- * $Id: ip6tables-restore.c,v 1.20 2004/02/02 20:12:33 gandalf Exp $
+ * $Id: ip6tables-restore.c,v 1.21 2004/02/02 20:14:56 gandalf Exp $
*/
#include <getopt.h>
@@ -76,7 +76,7 @@ ip6tc_handle_t create_handle(const char *tablename, const char* modprobe)
int parse_counters(char *string, struct ip6t_counters *ctr)
{
- return (sscanf(string, "[%llu:%llu]", &ctr->pcnt, &ctr->bcnt) == 2);
+ return (sscanf(string, "[%llu:%llu]", (unsigned long long *)&ctr->pcnt, (unsigned long long *)&ctr->bcnt) == 2);
}
/* global new argv and argc */