From: Ramsay Jones Date: Wed, 20 Jan 2010 19:34:14 +0000 (+0000) Subject: msvc: Fix a compiler warning due to an incorrect pointer cast X-Git-Tag: v1.7.0-rc0~15 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3521c1bf5bd9323567715b3e8b369075a7f50ec1;p=git.git msvc: Fix a compiler warning due to an incorrect pointer cast Signed-off-by: Ramsay Jones Acked-by: Sebastian Schuberth Signed-off-by: Junio C Hamano --- 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; } }