diff options
author | Ramsay Jones <ramsay@ramsay1.demon.co.uk> | 2010-01-20 19:34:14 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-01-22 16:15:16 -0800 |
commit | 3521c1bf5bd9323567715b3e8b369075a7f50ec1 (patch) | |
tree | 3d0f6ef4203503d285be74e3a8527e4297c7ebbd /compat | |
parent | 38743b7d10cfacca3b1b74ba5edc2bb1cd277597 (diff) | |
download | git-3521c1bf5bd9323567715b3e8b369075a7f50ec1.tar.gz git-3521c1bf5bd9323567715b3e8b369075a7f50ec1.tar.xz |
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>
Diffstat (limited to 'compat')
-rw-r--r-- | compat/regex/regex.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } |