Skip to content

Commit

Permalink
Got a little overzealous fixing lemon.c and made an unnecessary cast.
Browse files Browse the repository at this point in the history
That broke lemon, go figure. This commit fixes it.
  • Loading branch information
Shadowfiend committed Nov 6, 2013
1 parent 56a5779 commit 1029ed7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lemon/lemon.c
Original file line number Diff line number Diff line change
Expand Up @@ -1633,13 +1633,13 @@ static char *msort(
list = NEXT(list);
NEXT(ep) = 0;
for(i=0; i<LISTSIZE-1 && set[i]!=0; i++){
ep = (int)merge(ep,set[i],cmp,(int)offset);
ep = merge(ep,set[i],cmp,(int)offset);
set[i] = 0;
}
set[i] = ep;
}
ep = 0;
for(i=0; i<LISTSIZE; i++) if( set[i] ) ep = (int)merge(ep,set[i],cmp,(int)offset);
for(i=0; i<LISTSIZE; i++) if( set[i] ) ep = merge(ep,set[i],cmp,(int)offset);
return ep;
}
/************************ From the file "option.c" **************************/
Expand Down

0 comments on commit 1029ed7

Please sign in to comment.