X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=compat%2Fregex%2Fregex.c;h=556d8ab11f40550335066f491d08383557e02a00;hb=c444c16589f95ac22d8e3ffe603cd7f0613512ce;hp=67d5c370a04c0630089e8601eafde5c05957959c;hpb=6dbdba00ea2175894e1ad7a5e96899b7b087ed1d;p=git.git diff --git a/compat/regex/regex.c b/compat/regex/regex.c index 67d5c370a..556d8ab11 100644 --- a/compat/regex/regex.c +++ b/compat/regex/regex.c @@ -2808,7 +2808,7 @@ re_set_registers (bufp, regs, num_regs, starts, ends) { bufp->regs_allocated = REGS_UNALLOCATED; regs->num_regs = 0; - regs->start = regs->end = (regoff_t) 0; + regs->start = regs->end = (regoff_t *) 0; } }