comparison 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
comparison
equal deleted inserted replaced
3183:b87542338ac3 3184:88f972ffe96e
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