diff src/http/ngx_http_request.c @ 358:0a03c921c81d

nginx-0.0.7-2004-06-17-21:18:53 import
author Igor Sysoev <igor@sysoev.ru>
date Thu, 17 Jun 2004 17:18:53 +0000
parents 2e3cbc1bbe3c
children 446782c909b3
line wrap: on
line diff
--- a/src/http/ngx_http_request.c
+++ b/src/http/ngx_http_request.c
@@ -943,7 +943,8 @@ static ngx_int_t ngx_http_process_reques
          * in CPU cache
          */
 
-        ua = ngx_strstr(r->headers_in.user_agent->value.data, "MSIE");
+        ua = (u_char *) ngx_strstr(r->headers_in.user_agent->value.data,
+                                   "MSIE");
         if (ua
             && ua + 8 < r->headers_in.user_agent->value.data
                                          + r->headers_in.user_agent->value.len)