diff options
author | /C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net </C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net> | 2008-04-06 15:41:33 +0000 |
---|---|---|
committer | /C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net </C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net> | 2008-04-06 15:41:33 +0000 |
commit | 138c7cf7f8614051e83bec82535b0b31881082ed (patch) | |
tree | 10e5e1471b4db10f30a285f4804db3944f049823 /extensions/libipt_SAME.c | |
parent | 71ebd7f7577ce2c1296837a0278bd88f90084fe4 (diff) |
[PATCH 04/24] Drop -W from CFLAGS and some tiny code cleanups
- change "unsigned" to explicit "unsigned int"
- remove some casts
Diffstat (limited to 'extensions/libipt_SAME.c')
-rw-r--r-- | extensions/libipt_SAME.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/libipt_SAME.c b/extensions/libipt_SAME.c index e03ae80..d1e6903 100644 --- a/extensions/libipt_SAME.c +++ b/extensions/libipt_SAME.c @@ -90,7 +90,7 @@ static int SAME_parse(int c, char **argv, int invert, unsigned int *flags, { struct ipt_same_info *mr = (struct ipt_same_info *)(*target)->data; - unsigned count; + unsigned int count; switch (c) { case '1': @@ -146,7 +146,7 @@ static void SAME_check(unsigned int flags) static void SAME_print(const void *ip, const struct xt_entry_target *target, int numeric) { - unsigned count; + unsigned int count; struct ipt_same_info *mr = (struct ipt_same_info *)target->data; int random = 0; @@ -180,7 +180,7 @@ static void SAME_print(const void *ip, const struct xt_entry_target *target, /* Saves the union ipt_targinfo in parsable form to stdout. */ static void SAME_save(const void *ip, const struct xt_entry_target *target) { - unsigned count; + unsigned int count; struct ipt_same_info *mr = (struct ipt_same_info *)target->data; int random = 0; |