add missing else

master
orange 11 years ago
parent 457e00f4fe
commit f1d1727bf6

@ -29,7 +29,7 @@ int binsearchr(int array[], int from, int to, int target) {
if (array[m] == target) {
return m;
} if (array[m] > target) {
} else if (array[m] > target) {
return binsearchr(array, from, m-1, target);
} else {
/* array[m] < target */

Loading…
Cancel
Save