diff src/core/ngx_string.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 466fdc84c82d
children 2a92804f4109 d7d3a72c07d8
line wrap: on
line diff
--- 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
 
 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;