diff src/core/ngx_string.h @ 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 ec63069aeb78
children 66dc85397a90
line wrap: on
line diff
--- a/src/core/ngx_string.h
+++ b/src/core/ngx_string.h
@@ -173,7 +173,7 @@ uintptr_t ngx_escape_html(u_char *dst, u
 
 
 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 *));
 #define ngx_qsort             qsort