aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_core_module.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-11-21 06:30:49 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-11-21 06:30:49 +0000
commitd9d0ca12688034d481e2f1f5cf13a098338ec31d (patch)
tree9dca776a24d0bd34064b21d77fe5b6d290510445 /src/http/ngx_http_core_module.c
parent1ef225254ef3f7fc5470289bdeabad2e31507d55 (diff)
downloadnginx-d9d0ca12688034d481e2f1f5cf13a098338ec31d.tar.gz
nginx-d9d0ca12688034d481e2f1f5cf13a098338ec31d.zip
nginx-0.0.1-2003-11-21-09:30:49 import
Diffstat (limited to 'src/http/ngx_http_core_module.c')
-rw-r--r--src/http/ngx_http_core_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c
index e06198ea0..086e57dd4 100644
--- a/src/http/ngx_http_core_module.c
+++ b/src/http/ngx_http_core_module.c
@@ -662,7 +662,7 @@ static char *ngx_server_block(ngx_conf_t *cf, ngx_command_t *cmd, void *dummy)
return rv;
}
- ngx_qsort(cscf->locations.elts, cscf->locations.nelts,
+ ngx_qsort(cscf->locations.elts, (size_t) cscf->locations.nelts,
sizeof(void *), ngx_cmp_locations);
return rv;