From 669682f3b0f58272e8f41fcb6e9234aaeb2074e7 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Tue, 6 Oct 2009 09:46:16 +0000 Subject: [PATCH] fix building by gcc45 --- src/http/modules/ngx_http_rewrite_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/http/modules/ngx_http_rewrite_module.c b/src/http/modules/ngx_http_rewrite_module.c index f7c138dbb..1f98cf829 100644 --- a/src/http/modules/ngx_http_rewrite_module.c +++ b/src/http/modules/ngx_http_rewrite_module.c @@ -446,7 +446,7 @@ ngx_http_rewrite(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) return NGX_CONF_ERROR; } - *code = (uintptr_t) NULL; + *code = NULL; } regex->next = (u_char *) lcf->codes->elts + lcf->codes->nelts