[nginx] svn commit: r4645 - trunk/src/http/modules/perl
mdounin at mdounin.ru
mdounin at mdounin.ru
Wed May 23 10:36:12 UTC 2012
Author: mdounin
Date: 2012-05-23 10:36:12 +0000 (Wed, 23 May 2012)
New Revision: 4645
URL: http://trac.nginx.org/nginx/changeset/4645/nginx
Log:
Fixed warning during nginx.xs compilation.
Modified:
trunk/src/http/modules/perl/nginx.xs
Modified: trunk/src/http/modules/perl/nginx.xs
===================================================================
--- trunk/src/http/modules/perl/nginx.xs 2012-05-22 13:12:14 UTC (rev 4644)
+++ trunk/src/http/modules/perl/nginx.xs 2012-05-23 10:36:12 UTC (rev 4645)
@@ -476,7 +476,7 @@
}
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;
More information about the nginx-devel
mailing list