From: William A. Rowe Jr Date: Wed, 29 Nov 2000 01:53:31 +0000 (+0000) Subject: Clean up some compiler warnings (there remain some float=double and X-Git-Tag: moving_to_httpd_module~50 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1b690e08fd2cd5e4e0a162c859823bf22b523eb0;p=apache Clean up some compiler warnings (there remain some float=double and long=double warnings that didn't offer a simple answer at this moment.) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87116 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/mappers/mod_negotiation.c b/modules/mappers/mod_negotiation.c index b4852266ac..160fdf0e3e 100644 --- a/modules/mappers/mod_negotiation.c +++ b/modules/mappers/mod_negotiation.c @@ -1316,8 +1316,9 @@ static void set_language_quality(negotiation_state *neg, var_rec *variant) char *lang, *p; float fiddle_q = 0.0f; int any_match_on_star = 0; - int i, j, alen, longest_lang_range_len; - + int i, j; + size_t alen, longest_lang_range_len; + for (j = 0; j < variant->content_languages->nelts; ++j) { p = NULL; bestthistag = NULL;