diff options
author | Stefan Eßer <se@FreeBSD.org> | 2022-08-28 14:40:46 +0000 |
---|---|---|
committer | Stefan Eßer <se@FreeBSD.org> | 2022-08-28 14:54:31 +0000 |
commit | 3d41392b6e049ff56d2abf91749a82573eb3198d (patch) | |
tree | 3a97314801e42615a00a20ed178030ae23957774 /java/openjdk11 | |
parent | 07f3818a9b4ce9ebdeece8d35f8ca4870c5d8757 (diff) |
Diffstat (limited to 'java/openjdk11')
-rw-r--r-- | java/openjdk11/files/patch-src_java.desktop_share_native_libharfbuzz_hb-ot-layout-gpos-table.hh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/java/openjdk11/files/patch-src_java.desktop_share_native_libharfbuzz_hb-ot-layout-gpos-table.hh b/java/openjdk11/files/patch-src_java.desktop_share_native_libharfbuzz_hb-ot-layout-gpos-table.hh new file mode 100644 index 000000000000..786d03c4dd8a --- /dev/null +++ b/java/openjdk11/files/patch-src_java.desktop_share_native_libharfbuzz_hb-ot-layout-gpos-table.hh @@ -0,0 +1,20 @@ +--- src/java.desktop/share/native/libharfbuzz/hb-ot-layout-gpos-table.hh.orig 2022-07-20 05:18:35 UTC ++++ src/java.desktop/share/native/libharfbuzz/hb-ot-layout-gpos-table.hh +@@ -1128,7 +1128,7 @@ struct PairSet + if (record) + { + /* Note the intentional use of "|" instead of short-circuit "||". */ +- if (valueFormats[0].apply_value (c, this, &record->values[0], buffer->cur_pos()) | ++ if ((int)valueFormats[0].apply_value (c, this, &record->values[0], buffer->cur_pos()) | + valueFormats[1].apply_value (c, this, &record->values[len1], buffer->pos[pos])) + buffer->unsafe_to_break (buffer->idx, pos + 1); + if (len2) +@@ -1414,7 +1414,7 @@ struct PairPosFormat2 + + const Value *v = &values[record_len * (klass1 * class2Count + klass2)]; + /* Note the intentional use of "|" instead of short-circuit "||". */ +- if (valueFormat1.apply_value (c, this, v, buffer->cur_pos()) | ++ if ((int)valueFormat1.apply_value (c, this, v, buffer->cur_pos()) | + valueFormat2.apply_value (c, this, v + len1, buffer->pos[skippy_iter.idx])) + buffer->unsafe_to_break (buffer->idx, skippy_iter.idx + 1); + |