From: wessels <> Date: Tue, 6 Jan 1998 02:56:07 +0000 (+0000) Subject: compiler warning cleanup X-Git-Tag: SQUID_3_0_PRE1~4258 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=922c49306ed7955a42ff39a3a8e6ce4986466675;p=thirdparty%2Fsquid.git compiler warning cleanup --- diff --git a/lib/radix.c b/lib/radix.c index 3846e6bf9d..d7a36d4664 100644 --- a/lib/radix.c +++ b/lib/radix.c @@ -113,7 +113,7 @@ int max_keylen; struct radix_mask *rn_mkfreelist; struct radix_node_head *mask_rnhead; static char *addmask_key; -static char normal_chars[] = +static unsigned char normal_chars[] = {0, 0x80, 0xc0, 0xe0, 0xf0, 0xf8, 0xfc, 0xfe, -1}; static char *rn_zeros, *rn_ones; @@ -169,7 +169,7 @@ rn_search(v_arg, head) x = x->rn_l; } return (x); -}; +} struct radix_node * rn_search_m(v_arg, head, m_arg) @@ -187,7 +187,7 @@ rn_search_m(v_arg, head, m_arg) x = x->rn_l; } return x; -}; +} int rn_refines(m_arg, n_arg) @@ -361,7 +361,7 @@ rn_match(v_arg, head) } } while (t != top); return 0; -}; +} #ifdef RN_DEBUG int rn_nodenum;