From a4b7871ac73e1ad33729a060ab0370d0c0293782 Mon Sep 17 00:00:00 2001 From: Maxim Dounin Date: Tue, 26 Jun 2012 14:40:23 +0000 Subject: Merge of r4645: fixed warning during nginx.xs compilation. --- src/http/modules/perl/nginx.xs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/http/modules') 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; -- cgit