Skip to content

Commit

Permalink
combine-diff: type fix.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Junio C Hamano committed Apr 12, 2006
1 parent 7406595 commit 8bc7574
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions combine-diff.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8bc7574

Please sign in to comment.