diff src/http/modules/ngx_http_rewrite_module.c @ 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 2efa8d2fcde1
children a79d2ad7a2d8
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