changeset 2290:1a7567e5b988

change int to size_t
author Igor Sysoev <igor@sysoev.ru>
date Thu, 06 Nov 2008 19:11:19 +0000
parents 857c161d2768
children e9a1cddf2aaa
files src/http/modules/ngx_http_gzip_filter_module.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/http/modules/ngx_http_gzip_filter_module.c
+++ b/src/http/modules/ngx_http_gzip_filter_module.c
@@ -870,9 +870,9 @@ ngx_http_gzip_filter_init(ngx_conf_t *cf
 static char *
 ngx_http_gzip_window(ngx_conf_t *cf, void *post, void *data)
 {
-    int *np = data;
+    size_t *np = data;
 
-    int  wbits, wsize;
+    size_t  wbits, wsize;
 
     wbits = 15;
 
@@ -894,9 +894,9 @@ ngx_http_gzip_window(ngx_conf_t *cf, voi
 static char *
 ngx_http_gzip_hash(ngx_conf_t *cf, void *post, void *data)
 {
-    int *np = data;
+    size_t *np = data;
 
-    int  memlevel, hsize;
+    size_t  memlevel, hsize;
 
     memlevel = 9;