aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2008-03-24 13:04:02 +0000
committerIgor Sysoev <igor@sysoev.ru>2008-03-24 13:04:02 +0000
commitde8ec1efc8fae8f4e86a518c1c86225b9ba62de6 (patch)
tree1ba5aaa3099dcbc18f7248657ea8c0276f4e6964 /src/http/ngx_http.c
parent8634118bc82c8f9a5b43abe863edcee24aa878a8 (diff)
downloadnginx-de8ec1efc8fae8f4e86a518c1c86225b9ba62de6.tar.gz
nginx-de8ec1efc8fae8f4e86a518c1c86225b9ba62de6.zip
use ngx_int_t in ngx_sort() callback
Diffstat (limited to 'src/http/ngx_http.c')
-rw-r--r--src/http/ngx_http.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http/ngx_http.c b/src/http/ngx_http.c
index 22866639a..3ef1dcbc8 100644
--- a/src/http/ngx_http.c
+++ b/src/http/ngx_http.c
@@ -19,7 +19,7 @@ static ngx_int_t ngx_http_add_names(ngx_conf_t *cf,
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 @@ ngx_http_merge_locations(ngx_conf_t *cf, ngx_array_t *locations,
}
-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;