summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2012-06-26 14:40:23 +0000
committerMaxim Dounin <mdounin@mdounin.ru>2012-06-26 14:40:23 +0000
commita4b7871ac73e1ad33729a060ab0370d0c0293782 (patch)
tree482f2a97b0067132b79a84f82078710ff473c9f1 /src
parente9bc178bd95d764c1b2e3b6b5f23328c4ec2802a (diff)
downloadnginx-a4b7871ac73e1ad33729a060ab0370d0c0293782.tar.gz
nginx-a4b7871ac73e1ad33729a060ab0370d0c0293782.tar.bz2
Merge of r4645: fixed warning during nginx.xs compilation.
Diffstat (limited to 'src')
-rw-r--r--src/http/modules/perl/nginx.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/perl/nginx.xs b/src/http/modules/perl/nginx.xs
index ecd11ffbc..ed9743911 100644
--- a/src/http/modules/perl/nginx.xs
+++ b/src/http/modules/perl/nginx.xs
@@ -476,7 +476,7 @@ header_out(r, key, value)
}
if (header->key.len == sizeof("Content-Encoding") - 1
- && ngx_strncasecmp(header->key.data, "Content-Encoding",
+ && ngx_strncasecmp(header->key.data, (u_char *) "Content-Encoding",
sizeof("Content-Encoding") - 1) == 0)
{
r->headers_out.content_encoding = header;