projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7406595
)
combine-diff: type fix.
author
Junio C Hamano
<junkio@cox.net>
Wed, 12 Apr 2006 20:23:50 +0000
(13:23 -0700)
committer
Junio C Hamano
<junkio@cox.net>
Wed, 12 Apr 2006 20:23:50 +0000
(13:23 -0700)
The variable hunk_end points at a line number, which is
represented as unsigned long by all the other variables.
Signed-off-by: Junio C Hamano <junkio@cox.net>
combine-diff.c
patch
|
blob
|
history
diff --git
a/combine-diff.c
b/combine-diff.c
index
c45d773
..
e519583
100644
(file)
--- a/
combine-diff.c
+++ b/
combine-diff.c
@@
-506,8
+506,8
@@
static void dump_sline(struct sline *sline, unsigned long cnt, int num_parent)
while (1) {
struct sline *sl = &sline[lno];
-
int
hunk_end;
-
int
rlines;
+
unsigned long
hunk_end;
+
unsigned long
rlines;
while (lno <= cnt && !(sline[lno].flag & mark))
lno++;
if (cnt < lno)