hotspot/src/share/vm/utilities/growableArray.hpp
changeset 36315 150a415079ae
parent 35849 f095845829c9
child 38031 e0b822facc03
child 37466 287c4ebd11b0
--- a/hotspot/src/share/vm/utilities/growableArray.hpp	Tue Feb 23 17:55:20 2016 +0300
+++ b/hotspot/src/share/vm/utilities/growableArray.hpp	Tue Feb 23 17:59:27 2016 +0100
@@ -396,7 +396,7 @@
     int max = length() - 1;
 
     while (max >= min) {
-      int mid = (max + min) / 2;
+      int mid = (int)(((uint)max + min) / 2);
       E value = at(mid);
       int diff = compare(key, value);
       if (diff > 0) {