comparison 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
comparison
equal deleted inserted replaced
3252:ef8cfb09a50b 3253:d51b734b4540
444 code = ngx_http_script_add_code(lcf->codes, sizeof(uintptr_t), &regex); 444 code = ngx_http_script_add_code(lcf->codes, sizeof(uintptr_t), &regex);
445 if (code == NULL) { 445 if (code == NULL) {
446 return NGX_CONF_ERROR; 446 return NGX_CONF_ERROR;
447 } 447 }
448 448
449 *code = (uintptr_t) NULL; 449 *code = NULL;
450 } 450 }
451 451
452 regex->next = (u_char *) lcf->codes->elts + lcf->codes->nelts 452 regex->next = (u_char *) lcf->codes->elts + lcf->codes->nelts
453 - (u_char *) regex; 453 - (u_char *) regex;
454 454