summaryrefslogtreecommitdiffstats
path: root/iptables.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 /iptables.c
parent78939ef0a388762b6b6cff5aca7ea646d6cde24c (diff)
get rid of numerous gcc-4 warnings
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 92c6c49..0bb2b03 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");