Use unsigned shift to avoid breakage on overflow.

git-svn-id: https://samskivert.googlecode.com/svn/trunk@2743 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
samskivert
2010-02-10 01:03:32 +00:00
parent fc638663eb
commit 82a664c879
@@ -367,7 +367,7 @@ public class ArrayIntSet extends AbstractIntSet
int high = _size-1;
while (low <= high) {
int mid = (low + high) >> 1;
int mid = (low + high) >>> 1;
int midVal = _values[mid];
if (midVal < key) {