From de8ec1efc8fae8f4e86a518c1c86225b9ba62de6 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 24 Mar 2008 13:04:02 +0000 Subject: use ngx_int_t in ngx_sort() callback --- src/core/ngx_string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/ngx_string.c') diff --git a/src/core/ngx_string.c b/src/core/ngx_string.c index 0ac00174f..01d792f36 100644 --- a/src/core/ngx_string.c +++ b/src/core/ngx_string.c @@ -1430,7 +1430,7 @@ ngx_escape_html(u_char *dst, u_char *src, size_t size) void ngx_sort(void *base, size_t n, size_t size, - int (*cmp)(const void *, const void *)) + ngx_int_t (*cmp)(const void *, const void *)) { u_char *p1, *p2, *p; -- cgit