Hand-hold older compilers

This commit is contained in:
Behdad Esfahbod 2018-11-29 14:28:44 -05:00
parent 1a182e97ee
commit 72955e6825
1 changed files with 1 additions and 1 deletions

View File

@ -660,7 +660,7 @@ struct hb_set_t
unsigned int count = pages.len; unsigned int count = pages.len;
for (int i = count - 1; i >= 0; i++) for (int i = count - 1; i >= 0; i++)
if (!page_at (i).is_empty ()) 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; return INVALID;
} }