summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJP Abgrall <jpa@google.com>2011-05-18 20:26:14 -0700
committerJan Engelhardt <jengelh@medozas.de>2011-05-20 16:08:27 +0200
commit2305d5fb42fc059f38fc1bdf53411dbeecdb310b (patch)
tree533581021a3f92c391af249cb28a59ed29ea51c2 /include
parent67db7615580f5c3490a39310f5adcb4e767ea6a8 (diff)
libxt_quota: make sure uint64 is not truncated
The xtables_strtoul() would cram a long long into a long. The parse_int would try to cram a UINT64 into a long.
Diffstat (limited to 'include')
-rw-r--r--include/xtables.h.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/xtables.h.in b/include/xtables.h.in
index f88813f5..90eb1b2b 100644
--- a/include/xtables.h.in
+++ b/include/xtables.h.in
@@ -408,7 +408,7 @@ extern void xtables_register_matches(struct xtables_match *, unsigned int);
extern void xtables_register_target(struct xtables_target *me);
extern void xtables_register_targets(struct xtables_target *, unsigned int);
-extern bool xtables_strtoul(const char *, char **, unsigned long *,
+extern bool xtables_strtoul(const char *, char **, unsigned long long *,
unsigned long, unsigned long);
extern bool xtables_strtoui(const char *, char **, unsigned int *,
unsigned int, unsigned int);