diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2008-03-03 12:30:41 +0100 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2008-04-06 17:41:33 +0200 |
commit | 7a236f4cc685a420c1a782a5db614a93baf37ccf (patch) | |
tree | 10e5e1471b4db10f30a285f4804db3944f049823 /extensions/libxt_quota.c | |
parent | a31cdd88d7af44bc6c1e45b248ca3224363e1ba1 (diff) |
Drop -W from CFLAGS and some tiny code cleanups
- change "unsigned" to explicit "unsigned int"
- remove some casts
Diffstat (limited to 'extensions/libxt_quota.c')
-rw-r--r-- | extensions/libxt_quota.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/libxt_quota.c b/extensions/libxt_quota.c index 57050f2f..b4fb78bb 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); |