commit | 7a236f4cc685a420c1a782a5db614a93baf37ccf | [log] [tgz] |
---|---|---|
author | Jan Engelhardt <jengelh@medozas.de> | Mon Mar 03 12:30:41 2008 +0100 |
committer | Patrick McHardy <kaber@trash.net> | Sun Apr 06 17:41:33 2008 +0200 |
tree | 10e5e1471b4db10f30a285f4804db3944f049823 | |
parent | a31cdd88d7af44bc6c1e45b248ca3224363e1ba1 [diff] [blame] |
Drop -W from CFLAGS and some tiny code cleanups - change "unsigned" to explicit "unsigned int" - remove some casts
diff --git a/xtables.c b/xtables.c index af4d3dc..dba9081 100644 --- a/xtables.c +++ b/xtables.c
@@ -257,7 +257,7 @@ u_int16_t parse_port(const char *port, const char *proto) { - unsigned portnum; + unsigned int portnum; if ((string_to_number(port, 0, 65535, &portnum)) != -1 || (portnum = service_to_port(port, proto)) != (unsigned)-1)