diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c index 68e7891ac..574e92542 100644 --- 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_satisfy[] = { }; -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)