Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
msvc: Fix a compiler warning due to an incorrect pointer cast
author
Ramsay Jones
<ramsay@ramsay1.demon.co.uk>
Wed, 20 Jan 2010 19:34:14 +0000
(19:34 +0000)
committer
Junio C Hamano
<gitster@pobox.com>
Sat, 23 Jan 2010 00:15:16 +0000
(16:15 -0800)
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>
compat/regex/regex.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
38743b7
)
diff --git
a/compat/regex/regex.c
b/compat/regex/regex.c
index 67d5c370a04c0630089e8601eafde5c05957959c..556d8ab11f40550335066f491d08383557e02a00 100644
(file)
--- 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;
}
}
\f