Skip to content

Commit

Permalink
msvc: Fix a compiler warning due to an incorrect pointer cast
Browse files Browse the repository at this point in the history
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Acked-by: Sebastian Schuberth <sschuberth@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Ramsay Jones authored and Junio C Hamano committed Jan 23, 2010
1 parent 38743b7 commit 3521c1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compat/regex/regex.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Expand Down

0 comments on commit 3521c1b

Please sign in to comment.