fix building by msvc introduced in r2223

This commit is contained in:
Igor Sysoev 2008-09-01 15:17:54 +00:00
parent 4084b12041
commit cf0c445a14

View File

@ -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);