summaryrefslogtreecommitdiffstats
path: root/userspace/ebtables2/communication.c
diff options
context:
space:
mode:
authorBart De Schuymer <bdschuym@pandora.be>2006-01-23 18:50:54 +0000
committerBart De Schuymer <bdschuym@pandora.be>2006-01-23 18:50:54 +0000
commit39a1261a723c3c1d1860176cbad4eca17d858b94 (patch)
tree6d98375dd91fa176e4df4204cee525d85a03eab5 /userspace/ebtables2/communication.c
parentb6e00345ebf01b06d792cd89522e6b7b114783f7 (diff)
remove unsigned char * warning with gcc 4.0
Diffstat (limited to 'userspace/ebtables2/communication.c')
-rw-r--r--userspace/ebtables2/communication.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/userspace/ebtables2/communication.c b/userspace/ebtables2/communication.c
index dcfd8dc..bd7aa65 100644
--- a/userspace/ebtables2/communication.c
+++ b/userspace/ebtables2/communication.c
@@ -441,7 +441,7 @@ ebt_translate_watcher(struct ebt_entry_watcher *w,
}
static int
-ebt_translate_entry(struct ebt_entry *e, unsigned int *hook, int *n, int *cnt,
+ebt_translate_entry(struct ebt_entry *e, int *hook, int *n, int *cnt,
int *totalcnt, struct ebt_u_entry **u_e, struct ebt_u_replace *u_repl,
unsigned int valid_hooks, char *base, struct ebt_cntchanges **cc)
{
@@ -540,7 +540,7 @@ ebt_translate_entry(struct ebt_entry *e, unsigned int *hook, int *n, int *cnt,
/* Initialize all chain headers */
static int
-ebt_translate_chains(struct ebt_entry *e, unsigned int *hook,
+ebt_translate_chains(struct ebt_entry *e, int *hook,
struct ebt_u_replace *u_repl, unsigned int valid_hooks)
{
int i;