From efa8fc2123a2a9fc229ab471edd2b2688ce1da3a Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Tue, 19 Jul 2005 22:03:49 +0000 Subject: get rid of numerous gcc-4 warnings --- iptables.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'iptables.c') 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"); -- cgit v1.2.3