diff src/http/ngx_http_variables.c @ 732:5e42c1615f4d release-0.4.4

nginx-0.4.4-RELEASE fix msvc build failure introduced by previous commit
author Igor Sysoev <igor@sysoev.ru>
date Mon, 02 Oct 2006 11:44:21 +0000
parents 44161d685b8a
children 75d767d32624
line wrap: on
line diff
--- a/src/http/ngx_http_variables.c
+++ b/src/http/ngx_http_variables.c
@@ -786,7 +786,7 @@ ngx_http_variable_scheme(ngx_http_reques
         v->valid = 1;
         v->no_cachable = 0;
         v->not_found = 0;
-        v->data = "https";
+        v->data = (u_char *) "https";
 
         return NGX_OK;
     }
@@ -797,7 +797,7 @@ ngx_http_variable_scheme(ngx_http_reques
     v->valid = 1;
     v->no_cachable = 0;
     v->not_found = 0;
-    v->data = "http";
+    v->data = (u_char *) "http";
 
     return NGX_OK;
 }