change int to size_t

This commit is contained in:
Igor Sysoev 2008-11-06 19:11:19 +00:00
parent 8329a5bc34
commit 051d85f6b0

View 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;