combine-diff: type fix.
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>
Junio C Hamano committed
Apr 12, 2006 at 13:23 UTC
8bc7574b6332ef45645c6e0917e9d59919b277ef
1 file changed
+2
-2
combine-diff.c
+2
-2
@@ -506,8 +506,8 @@ static void dump_sline(struct sline *sline, unsigned long cnt, int num_parent)
506
507
while (1) {
508
struct sline *sl = &sline[lno];
509
- int hunk_end;
510
- int rlines;
509
+ unsigned long hunk_end;
510
+ unsigned long rlines;
511
while (lno <= cnt && !(sline[lno].flag & mark))
512
lno++;
513
if (cnt < lno)