diff options
author | Igor Sysoev <igor@sysoev.ru> | 2008-03-24 13:04:02 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2008-03-24 13:04:02 +0000 |
commit | de8ec1efc8fae8f4e86a518c1c86225b9ba62de6 (patch) | |
tree | 1ba5aaa3099dcbc18f7248657ea8c0276f4e6964 /src/core/ngx_string.c | |
parent | 8634118bc82c8f9a5b43abe863edcee24aa878a8 (diff) | |
download | nginx-de8ec1efc8fae8f4e86a518c1c86225b9ba62de6.tar.gz nginx-de8ec1efc8fae8f4e86a518c1c86225b9ba62de6.zip |
use ngx_int_t in ngx_sort() callback
Diffstat (limited to 'src/core/ngx_string.c')
-rw-r--r-- | src/core/ngx_string.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |