git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
38743b7
)
msvc: Fix a compiler warning due to an incorrect pointer cast
author
Ramsay Jones
<redacted>
Wed, 20 Jan 2010 19:34:14 +0000
(19:34 +0000)
committer
Junio C Hamano
<redacted>
Sat, 23 Jan 2010 00:15:16 +0000
(16:15 -0800)
Signed-off-by: Ramsay Jones <redacted>
Acked-by: Sebastian Schuberth <redacted>
Signed-off-by: Junio C Hamano <redacted>
compat/regex/regex.c
patch
|
blob
|
history
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
git clone https://git.99rst.org/PROJECT