summaryrefslogtreecommitdiffstats
path: root/modules/mappers/mod_negotiation.c
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2000-11-29 02:53:31 +0100
committerWilliam A. Rowe Jr <wrowe@apache.org>2000-11-29 02:53:31 +0100
commit1b690e08fd2cd5e4e0a162c859823bf22b523eb0 (patch)
tree8d3b54282c5990e5932847383d84942323a080ec /modules/mappers/mod_negotiation.c
parent clean up some really bad typedefs - and move one into mpm_winnt.c since (diff)
downloadapache2-1b690e08fd2cd5e4e0a162c859823bf22b523eb0.tar.xz
apache2-1b690e08fd2cd5e4e0a162c859823bf22b523eb0.zip
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
Diffstat (limited to '')
-rw-r--r--modules/mappers/mod_negotiation.c5
1 files changed, 3 insertions, 2 deletions
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;