From 9b82aa19d812e70b7fade4b7669a9ce27855951e Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 11 Jan 2018 18:19:42 +0100 Subject: [PATCH] More warning fixes --- src/hb-open-type-private.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hb-open-type-private.hh b/src/hb-open-type-private.hh index 6d8bc6cb8..736497d9b 100644 --- a/src/hb-open-type-private.hh +++ b/src/hb-open-type-private.hh @@ -1041,12 +1041,12 @@ struct SortedArrayOf : ArrayOf inline int bsearch (const SearchType &x) const { /* Hand-coded bsearch here since this is in the hot inner loop. */ - const Type *array = this->array; + const Type *arr = this->array; int min = 0, max = (int) this->len - 1; while (min <= max) { int mid = (min + max) / 2; - int c = array[mid].cmp (x); + int c = arr[mid].cmp (x); if (c < 0) max = mid - 1; else if (c > 0)