From 138c7cf7f8614051e83bec82535b0b31881082ed Mon Sep 17 00:00:00 2001 From: "/C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net" Date: Sun, 6 Apr 2008 15:41:33 +0000 Subject: [PATCH 04/24] Drop -W from CFLAGS and some tiny code cleanups - change "unsigned" to explicit "unsigned int" - remove some casts --- extensions/libxt_quota.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extensions/libxt_quota.c') diff --git a/extensions/libxt_quota.c b/extensions/libxt_quota.c index 57050f2..b4fb78b 100644 --- a/extensions/libxt_quota.c +++ b/extensions/libxt_quota.c @@ -43,7 +43,7 @@ quota_save(const void *ip, const struct xt_entry_match *match) static int parse_quota(const char *s, u_int64_t * quota) { - *quota = strtoull(s, (char **) NULL, 10); + *quota = strtoull(s, NULL, 10); #ifdef DEBUG_XT_QUOTA printf("Quota: %llu\n", *quota); -- cgit v1.2.3