From d9d0ca12688034d481e2f1f5cf13a098338ec31d Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Fri, 21 Nov 2003 06:30:49 +0000 Subject: nginx-0.0.1-2003-11-21-09:30:49 import --- src/http/ngx_http_core_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/http/ngx_http_core_module.c') 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; -- cgit