Skip to content

Commit 137d073

Browse files
committed
Fix
1 parent 73e2f94 commit 137d073

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/execution/value.d

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ struct I64
4848
///
4949
int opCmp(I64 rhs) const
5050
{
51-
return i < rhs.i;
51+
return (i > rhs.i) - (i < rhs.i);
5252
}
5353
}
5454

0 commit comments

Comments
 (0)