diff src/http/ngx_http_core_module.c @ 1859:9fb312cd641c

fix building by gcc42, etc. introduced in r1858
author Igor Sysoev <igor@sysoev.ru>
date Wed, 09 Jan 2008 15:27:27 +0000
parents 18c20c38ad6d
children 10ab4a7f92fe
line wrap: on
line diff
--- a/src/http/ngx_http_core_module.c
+++ b/src/http/ngx_http_core_module.c
@@ -113,7 +113,7 @@ static ngx_conf_enum_t  ngx_http_core_sa
 };
 
 
-static ngx_str_t  ngx_http_core_get_method = { 3, "GET " };
+static ngx_str_t  ngx_http_core_get_method = { 3, (u_char *) "GET " };
 
 
 #if (NGX_HTTP_GZIP)