diff options
-rw-r--r-- | ks_index.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -56,7 +56,7 @@ static int ks_find(const hal_ks_index_t * const ksi, int hi = ksi->used; for (;;) { - int m = (lo + hi) / 2; + int m = (lo + hi) >> 1; if (m == lo) { *where = hi; return 0; |