diff options
author | Igor Sysoev <igor@sysoev.ru> | 2009-02-02 13:17:06 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2009-02-02 13:17:06 +0300 |
commit | 9a5f4c74cfa4bd953c608900219bd2ae196411bb (patch) | |
tree | 4d041d0c6703c9771b8c34c03ce78d54d52a59d4 | |
parent | 32856e1bc859d9765cb3daa2ff928b8ec8ba0f13 (diff) |
fix building by msvc, introduced in r2487
-rw-r--r-- | src/core/ngx_resolver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ngx_resolver.c b/src/core/ngx_resolver.c index c68c7f4e4..f58fb5ba7 100644 --- a/src/core/ngx_resolver.c +++ b/src/core/ngx_resolver.c @@ -1531,7 +1531,7 @@ ngx_resolver_process_ptr(ngx_resolver_t *r, u_char *buf, size_t n, ngx_resolver_free(r, rn->name); } - rn->nlen = name.len; + rn->nlen = (u_short) name.len; rn->name = name.data; name.data = ngx_resolver_dup(r, rn->name, name.len); |