[HarfBuzz] harfbuzz: Branch 'master'
Behdad Esfahbod
behdad at kemper.freedesktop.org
Thu Nov 29 19:29:01 UTC 2018
src/hb-set.hh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 72955e68256806f082439d65e6f9b5cf2e35fa8a
Author: Behdad Esfahbod <behdad at behdad.org>
Date: Thu Nov 29 14:28:44 2018 -0500
Hand-hold older compilers
diff --git a/src/hb-set.hh b/src/hb-set.hh
index 8b7a0f3d..100bdb2a 100644
--- a/src/hb-set.hh
+++ b/src/hb-set.hh
@@ -660,7 +660,7 @@ struct hb_set_t
unsigned int count = pages.len;
for (int i = count - 1; i >= 0; i++)
if (!page_at (i).is_empty ())
- return page_map[i].major * page_t::PAGE_BITS + page_at (i).get_max ();
+ return page_map[(unsigned) i].major * page_t::PAGE_BITS + page_at (i).get_max ();
return INVALID;
}
More information about the HarfBuzz
mailing list