mirror of
https://github.com/nginx/nginx.git
synced 2025-06-12 13:42:55 +08:00
change int to size_t
This commit is contained in:
parent
8329a5bc34
commit
051d85f6b0
@ -870,9 +870,9 @@ ngx_http_gzip_filter_init(ngx_conf_t *cf)
|
|||||||
static char *
|
static char *
|
||||||
ngx_http_gzip_window(ngx_conf_t *cf, void *post, void *data)
|
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;
|
wbits = 15;
|
||||||
|
|
||||||
@ -894,9 +894,9 @@ ngx_http_gzip_window(ngx_conf_t *cf, void *post, void *data)
|
|||||||
static char *
|
static char *
|
||||||
ngx_http_gzip_hash(ngx_conf_t *cf, void *post, void *data)
|
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;
|
memlevel = 9;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user