[instancer] Fix 32-bit build of the region-tuple dedup The out-parameter passed to hb_map_t::has() was typed unsigned*, but the map's value type is hb_codepoint_t. On targets where uint32_t is unsigned long (e.g. arm-none-eabi) that is a distinct type and the build failed with an invalid pointer conversion. Use hb_codepoint_t* to match. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
diff --git a/src/hb-ot-var-common.hh b/src/hb-ot-var-common.hh index ed3cfa9..a97430d 100644 --- a/src/hb-ot-var-common.hh +++ b/src/hb-ot-var-common.hh
@@ -1113,7 +1113,7 @@ /* A region the VarData references again adds its deltas to the * tuple it already has, as merge_tuple_variations () would do, * instead of getting another copy of the region's axes. */ - unsigned *tuple_index; + hb_codepoint_t *tuple_index; if (region_tuple_map.has (region_index, &tuple_index)) { tuple_delta_t& tuple = tuple_vars.arrayZ[*tuple_index];