]> git.kaiwu.me - nginx.git/commitdiff
fix building by gcc45
authorIgor Sysoev <igor@sysoev.ru>
Tue, 6 Oct 2009 09:46:16 +0000 (09:46 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Tue, 6 Oct 2009 09:46:16 +0000 (09:46 +0000)
src/http/modules/ngx_http_rewrite_module.c

index f7c138dbbde400b4111923c904759ba4b9d68489..1f98cf829562bed2268ea88a588d29395c30796d 100644 (file)
@@ -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