summaryrefslogtreecommitdiffstats
path: root/ip6tables.c
diff options
context:
space:
mode:
author/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org>2005-07-19 22:03:49 +0000
committer/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org>2005-07-19 22:03:49 +0000
commit31c52205e0f4f5bb6fffcbd928f2975b0bad75d4 (patch)
tree1cc39b4ef12a42c15e5a21c8fff5a700b3a1dd6b /ip6tables.c
parent78939ef0a388762b6b6cff5aca7ea646d6cde24c (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 9bfe1d3..49dcbf0 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");