From 69d232eaea323b8c42e5fa1788553ac4e8bf3a50 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 21 Dec 2018 15:08:06 -0500 Subject: [PATCH] Fix bot C:\projects\harfbuzz\src\hb-uniscribe.cc(709): error C2666: 'hb_vector_t::operator +': 3 overloads have similar conversions [C:\projects\harfbuzz\build\harfbuzz.vcxproj] --- src/hb-uniscribe.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-uniscribe.cc b/src/hb-uniscribe.cc index 8d0473d95..97f8a2e81 100644 --- a/src/hb-uniscribe.cc +++ b/src/hb-uniscribe.cc @@ -706,7 +706,7 @@ _hb_uniscribe_shape (hb_shape_plan_t *shape_plan, for (unsigned int i = 0; i < range_records.len; i++) { range_record_t *range = &range_records[i]; - range->props.potfRecords = feature_records + reinterpret_cast (range->props.potfRecords); + range->props.potfRecords = (OPENTYPE_FEATURE_RECORD *) feature_records + reinterpret_cast (range->props.potfRecords); } }