commit | cb73ba710480f698828b8d6526605849d6899bad | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <[email protected]> | Sun Jul 02 15:27:26 2023 -0600 |
committer | Behdad Esfahbod <[email protected]> | Sun Jul 02 15:28:39 2023 -0600 |
tree | f04b45b9cf582e8488ef0485e5accfd85cee1321 | |
parent | 918ad8929403d2106fdca1370a1c3e9929e301f9 [diff] |
[set-digest] Fixup for previous commit
diff --git a/src/hb-set-digest.hh b/src/hb-set-digest.hh index ae255a1..19fe2b2 100644 --- a/src/hb-set-digest.hh +++ b/src/hb-set-digest.hh
@@ -154,8 +154,7 @@ bool add_range (hb_codepoint_t a, hb_codepoint_t b) { - return head.add_range (a, b) && - tail.add_range (a, b); + return (int) head.add_range (a, b) | (int) tail.add_range (a, b); } template <typename T> void add_array (const T *array, unsigned int count, unsigned int stride=sizeof(T))