Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
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
raw
|
patch
| inline |
side by side
(parent:
7406595
)
diff --git
a/combine-diff.c
b/combine-diff.c
index c45d7736592f483c5c454c9571bb62c1e7835707..e519583650c16ab4077c834f409658c63b6d5a06 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)