path: root/include/
diff options
authorJP Abgrall <>2011-05-18 20:26:14 -0700
committerJan Engelhardt <>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/')
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ b/include/
index f88813f5..90eb1b2b 100644
--- a/include/
+++ b/include/
@@ -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);