From 7a236f4cc685a420c1a782a5db614a93baf37ccf Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 3 Mar 2008 12:30:41 +0100 Subject: Drop -W from CFLAGS and some tiny code cleanups - change "unsigned" to explicit "unsigned int" - remove some casts --- xtables.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xtables.c') diff --git a/xtables.c b/xtables.c index af4d3dcf..dba9081b 100644 --- a/xtables.c +++ b/xtables.c @@ -257,7 +257,7 @@ int service_to_port(const char *name, const char *proto) 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) -- cgit v1.2.3