From 80c397c53bfec5866d032a6c6de1487769646a8c Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 22 Oct 2007 10:28:03 +0000 Subject: [PATCH] fix building broken in r1593 --- src/http/ngx_http_header_filter_module.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/http/ngx_http_header_filter_module.c b/src/http/ngx_http_header_filter_module.c index 3c3d627c5..63ecfa135 100644 --- a/src/http/ngx_http_header_filter_module.c +++ b/src/http/ngx_http_header_filter_module.c @@ -368,11 +368,11 @@ ngx_http_header_filter(ngx_http_request_t *r) if (r->headers_out.server == NULL) { if (clcf->server_tokens) { - p = ngx_http_server_full_string; + p = (u_char *) ngx_http_server_full_string; len = sizeof(ngx_http_server_full_string) - 1; } else { - p = ngx_http_server_string; + p = (u_char *) ngx_http_server_string; len = sizeof(ngx_http_server_string) - 1; }