projects
/
platform
/
upstream
/
libHarfBuzzSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
680cbc2
)
More warning fixes
author
Behdad Esfahbod
<behdad@behdad.org>
Thu, 11 Jan 2018 17:19:42 +0000
(18:19 +0100)
committer
Behdad Esfahbod
<behdad@behdad.org>
Thu, 11 Jan 2018 17:19:42 +0000
(18:19 +0100)
src/hb-open-type-private.hh
patch
|
blob
|
history
diff --git
a/src/hb-open-type-private.hh
b/src/hb-open-type-private.hh
index 6d8bc6cb89cdf201660afab2e21cda2fe8442ddb..736497d9bc05e76d49a93fd9efb69c02b0d084c1 100644
(file)
--- a/
src/hb-open-type-private.hh
+++ b/
src/hb-open-type-private.hh
@@
-1041,12
+1041,12
@@
struct SortedArrayOf : ArrayOf<Type, LenType>
inline int bsearch (const SearchType &x) const
{
/* Hand-coded bsearch here since this is in the hot inner loop. */
- const Type *arr
ay
= 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 = arr
ay
[mid].cmp (x);
+ int c = arr[mid].cmp (x);
if (c < 0)
max = mid - 1;
else if (c > 0)