aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2008-11-06 19:11:19 +0000
committerIgor Sysoev <igor@sysoev.ru>2008-11-06 19:11:19 +0000
commit051d85f6b0d34d2f909549b82b1656e10b16f53d (patch)
treecf6b6948c45dd1b9d013f5d0a7af12e9abc61289
parent8329a5bc343387d9f7fc35f37a096fc6d3a6909a (diff)
downloadnginx-051d85f6b0d34d2f909549b82b1656e10b16f53d.tar.gz
nginx-051d85f6b0d34d2f909549b82b1656e10b16f53d.zip
change int to size_t
-rw-r--r--src/http/modules/ngx_http_gzip_filter_module.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/http/modules/ngx_http_gzip_filter_module.c b/src/http/modules/ngx_http_gzip_filter_module.c
index 54e2cffcc..e3a1181ed 100644
--- 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, 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;