src/hb-set.hh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 72955e68256806f082439d65e6f9b5cf2e35fa8a
Author: Behdad Esfahbod <[email protected]>
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;
}
_______________________________________________
HarfBuzz mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/harfbuzz