changeset 3184:88f972ffe96e

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