summaryrefslogtreecommitdiff
path: root/src/hb-open-file.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/hb-open-file.hh')
-rw-r--r--src/hb-open-file.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hb-open-file.hh b/src/hb-open-file.hh
index 847f9b06..d3b74860 100644
--- a/src/hb-open-file.hh
+++ b/src/hb-open-file.hh
@@ -115,7 +115,7 @@ typedef struct OffsetTable
* table list. */
int i = tables.len < 64 ? tables.lsearch (t) : tables.bsearch (t);
if (table_index)
- *table_index = i == -1 ? Index::NOT_FOUND_INDEX : (unsigned int) i;
+ *table_index = i == -1 ? (unsigned) Index::NOT_FOUND_INDEX : (unsigned) i;
return i != -1;
}
inline const TableRecord& get_table_by_tag (hb_tag_t tag) const