diff src/http/modules/ngx_http_rewrite_module.c @ 3184:88f972ffe96e

fix building by gcc45
author Igor Sysoev <igor@sysoev.ru>
date Tue, 06 Oct 2009 09:46:16 +0000
parents cf21d35248bc
children 42c16d8bddbe
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