diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2009-01-27 17:24:34 +0100 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2009-01-27 23:14:26 +0100 |
commit | 213e185afbb298e6708881e4c2adffdc47a8b6da (patch) | |
tree | 1e37c6e65c7541794742b3f08acfb2517d198ed3 /xtables.c | |
parent | 825c317eedc12e1c8c93e22a96bc423d27b3c1f4 (diff) |
src: remove redundant casts
All of them are implicitly convertable without any wanted side effects.
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'xtables.c')
-rw-r--r-- | xtables.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -262,7 +262,7 @@ u_int16_t parse_port(const char *port, const char *proto) if ((string_to_number(port, 0, 65535, &portnum)) != -1 || (portnum = service_to_port(port, proto)) != (unsigned)-1) - return (u_int16_t)portnum; + return portnum; exit_error(PARAMETER_PROBLEM, "invalid port/service `%s' specified", port); |