diff options
author | Harald Welte <laforge@gnumonks.org> | 2005-07-19 22:03:49 +0000 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2005-07-19 22:03:49 +0000 |
commit | efa8fc2123a2a9fc229ab471edd2b2688ce1da3a (patch) | |
tree | 1cc39b4ef12a42c15e5a21c8fff5a700b3a1dd6b /libiptc/libiptc.c | |
parent | daa1ef354deee764484c1494073b075859701971 (diff) |
get rid of numerous gcc-4 warnings
Diffstat (limited to 'libiptc/libiptc.c')
-rw-r--r-- | libiptc/libiptc.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |