xrelalloc
r->types = xrelalloc(r->types, list->max - r->min + 1);
r->types = xrelalloc(r->types, lr->max - r->min + 1);
u_int32_t *xrelalloc(u_int32_t *old, size_t sz);