mirror of
https://github.com/git/git
synced 2024-08-27 11:39:22 +00:00
msvc: Fix a compiler warning due to an incorrect pointer cast
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>
This commit is contained in:
parent
38743b7d10
commit
3521c1bf5b
|
@ -2808,7 +2808,7 @@ re_set_registers (bufp, regs, num_regs, starts, ends)
|
||||||
{
|
{
|
||||||
bufp->regs_allocated = REGS_UNALLOCATED;
|
bufp->regs_allocated = REGS_UNALLOCATED;
|
||||||
regs->num_regs = 0;
|
regs->num_regs = 0;
|
||||||
regs->start = regs->end = (regoff_t) 0;
|
regs->start = regs->end = (regoff_t *) 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue