Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2008-09-01 19:17:54 +0400
committerIgor Sysoev <igor@sysoev.ru>2008-09-01 19:17:54 +0400
commitcf0c445a141a84504e7ac0bdab34c651512ec89a (patch)
treedb77b212b82f786c94ee3dac10f745434b17f76d /src/core
parent4084b12041c8862546daeab9618de9f4d4bbc16f (diff)
fix building by msvc introduced in r2223
Diffstat (limited to 'src/core')
-rw-r--r--src/core/ngx_conf_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ngx_conf_file.c b/src/core/ngx_conf_file.c
index c7e155c09..d9683161b 100644
--- a/src/core/ngx_conf_file.c
+++ b/src/core/ngx_conf_file.c
@@ -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);