Merge branch 'maint-1.6.6' into maint
[gitweb.git] / compat / regex / regex.c
index 67d5c370a04c0630089e8601eafde5c05957959c..556d8ab11f40550335066f491d08383557e02a00 100644 (file)
@@ -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;
     }
 }
 \f