changeset 4644:95763fce86a8

Fixed warning during nginx.xs compilation.
author Maxim Dounin <mdounin@mdounin.ru>
date Wed, 23 May 2012 10:36:12 +0000
parents bc5f881323b8
children f329a1d2127b
files src/http/modules/perl/nginx.xs
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;