mirror of
https://github.com/nginx/nginx.git
synced 2025-06-11 12:22:41 +08:00
fix building by msvc introduced in r2223
This commit is contained in:
parent
4084b12041
commit
cf0c445a14
@ -508,7 +508,7 @@ ngx_conf_read_token(ngx_conf_t *cf)
|
||||
ngx_memcpy(b->start, start, len);
|
||||
}
|
||||
|
||||
size = file_size - cf->conf_file->file.offset;
|
||||
size = (ssize_t) (file_size - cf->conf_file->file.offset);
|
||||
|
||||
if (size > b->end - (b->start + len)) {
|
||||
size = b->end - (b->start + len);
|
||||
|
Loading…
Reference in New Issue
Block a user