Mercurial > hg > nginx
diff src/http/ngx_http.c @ 1956:cb8c0c8e0c27
use ngx_int_t in ngx_sort() callback
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 24 Mar 2008 13:04:02 +0000 |
parents | 8c64532e4875 |
children | 248a376403b0 7f6f4568574d |
line wrap: on
line diff
--- a/src/http/ngx_http.c Sun Mar 23 19:58:54 2008 +0000 +++ b/src/http/ngx_http.c Mon Mar 24 13:04:02 2008 +0000 @@ -19,7 +19,7 @@ static char *ngx_http_merge_locations(ngx_conf_t *cf, ngx_array_t *locations, void **loc_conf, ngx_http_module_t *module, ngx_uint_t ctx_index); -static int ngx_http_cmp_conf_in_addrs(const void *one, const void *two); +static ngx_int_t ngx_http_cmp_conf_in_addrs(const void *one, const void *two); static int ngx_libc_cdecl ngx_http_cmp_dns_wildcards(const void *one, const void *two); @@ -1089,7 +1089,7 @@ } -static int +static ngx_int_t ngx_http_cmp_conf_in_addrs(const void *one, const void *two) { ngx_http_conf_in_addr_t *first, *second;