mirror of
https://github.com/nginx/nginx.git
synced 2026-05-28 04:12:47 -04:00
fix building by msvc introduced in r2223
This commit is contained in:
parent
4084b12041
commit
cf0c445a14
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue