path: root/communication.c
diff options
authorBart De Schuymer <>2006-01-23 18:50:54 +0000
committerBart De Schuymer <>2006-01-23 18:50:54 +0000
commit510c9ce916464d6958c4394169fb5e885f4d3a06 (patch)
tree8cc6d20db5724c7a2c120306cbd70ec90ab8adfd /communication.c
parent639bbe9d2f41b776bc3384590151265367de01d9 (diff)
remove unsigned char * warning with gcc 4.0
Diffstat (limited to 'communication.c')
1 files changed, 2 insertions, 2 deletions
diff --git a/communication.c b/communication.c
index dcfd8dc..bd7aa65 100644
--- a/communication.c
+++ b/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;