]> git.kaiwu.me - nginx.git/commitdiff
change int to size_t
authorIgor Sysoev <igor@sysoev.ru>
Thu, 6 Nov 2008 19:11:19 +0000 (19:11 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Thu, 6 Nov 2008 19:11:19 +0000 (19:11 +0000)
src/http/modules/ngx_http_gzip_filter_module.c

index 54e2cffcc910e6db09f72ad07636d05ba6dcf4e1..e3a1181ede041d4384d1304aa0caf1b851429982 100644 (file)
@@ -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, void *post, void *data)
 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;