More code cleanup.
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Thu, 5 Apr 2018 21:56:52 +0000 (23:56 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Thu, 5 Apr 2018 21:56:52 +0000 (23:56 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Structure/Entiers.java

index 80fcc9016434b0b5ec16c3f946c1999e37097fa3..05ffb59506063c8d55f9e9534de2bf906e304355 100644 (file)
@@ -67,7 +67,7 @@ class Entiers extends Structure {
             return middle;
         else if (value > int_array[middle])
             return binarySearch((middle + 1), last, value);
             return middle;
         else if (value > int_array[middle])
             return binarySearch((middle + 1), last, value);
-        return binarySearch(first, (middle -1), value);
+        return binarySearch(first, (middle - 1), value);
     }
 
     public boolean supprimer(int value) {
     }
 
     public boolean supprimer(int value) {