summaryrefslogtreecommitdiffstats
path: root/iptables.c
diff options
context:
space:
mode:
Diffstat (limited to 'iptables.c')
-rw-r--r--iptables.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/iptables.c b/iptables.c
index 92c6c49c..0bb2b037 100644
--- a/iptables.c
+++ b/iptables.c
@@ -484,7 +484,8 @@ cmd2char(int option)
}
static void
-add_command(int *cmd, const int newcmd, const int othercmds, int invert)
+add_command(unsigned int *cmd, const int newcmd, const int othercmds,
+ int invert)
{
if (invert)
exit_error(PARAMETER_PROBLEM, "unexpected ! flag");