changeset 3253:d51b734b4540 stable-0.7

merge r3185: fix building by gcc45
author Igor Sysoev <igor@sysoev.ru>
date Mon, 26 Oct 2009 17:46:25 +0000
parents ef8cfb09a50b
children ae555c9ac9a4
files src/http/modules/ngx_http_rewrite_module.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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_com
             return NGX_CONF_ERROR;
         }
 
-        *code = (uintptr_t) NULL;
+        *code = NULL;
     }
 
     regex->next = (u_char *) lcf->codes->elts + lcf->codes->nelts