From efa8fc2123a2a9fc229ab471edd2b2688ce1da3a Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Tue, 19 Jul 2005 22:03:49 +0000 Subject: get rid of numerous gcc-4 warnings --- libiptc/libiptc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libiptc/libiptc.c') diff --git a/libiptc/libiptc.c b/libiptc/libiptc.c index 9f7d2cee..7546d87b 100644 --- a/libiptc/libiptc.c +++ b/libiptc/libiptc.c @@ -674,7 +674,7 @@ static int iptcc_compile_chain(TC_HANDLE_T h, STRUCT_REPLACE *repl, struct chain /* calculate offset and number for every rule in the cache */ static int iptcc_compile_chain_offsets(TC_HANDLE_T h, struct chain_head *c, - int *offset, int *num) + unsigned int *offset, unsigned int *num) { struct rule_head *r; @@ -798,7 +798,7 @@ TC_INIT(const char *tablename) { TC_HANDLE_T h; STRUCT_GETINFO info; - int tmp; + unsigned int tmp; socklen_t s; iptc_fn = TC_INIT; -- cgit v1.2.3