Skip to content

Commit

Permalink
On traite le cas ou on compare deux blocs != de taille 0.
Browse files Browse the repository at this point in the history
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@255 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
  • Loading branch information
xavierleroy committed Sep 8, 1995
1 parent 9329823 commit 72743ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions byterun/compare.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ static long compare_val(v1, v2)
value * p1, * p2;
long res;
if (sz1 != sz2) return sz1 - sz2;
if (sz1 == 0) return 0;
for(p1 = Op_val(v1), p2 = Op_val(v2);
sz1 > 1;
sz1--, p1++, p2++) {
Expand Down

0 comments on commit 72743ac

Please sign in to comment.