From 4ae43f965d10a1ea8df81b216e4b51c2460506b7 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Tue, 6 Oct 2009 09:46:16 +0000 Subject: fix building by gcc45 --- src/http/modules/ngx_http_rewrite_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3