summaryrefslogtreecommitdiffstats
path: root/ip6tables.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2005-07-19 22:03:49 +0000
committerHarald Welte <laforge@gnumonks.org>2005-07-19 22:03:49 +0000
commitefa8fc2123a2a9fc229ab471edd2b2688ce1da3a (patch)
tree1cc39b4ef12a42c15e5a21c8fff5a700b3a1dd6b /ip6tables.c
parentdaa1ef354deee764484c1494073b075859701971 (diff)
get rid of numerous gcc-4 warnings
Diffstat (limited to 'ip6tables.c')
-rw-r--r--ip6tables.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ip6tables.c b/ip6tables.c
index 9bfe1d38..49dcbf07 100644
--- a/ip6tables.c
+++ b/ip6tables.c
@@ -430,7 +430,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");