summaryrefslogtreecommitdiff
path: root/thirdparty/harfbuzz/src/hb-bit-set-invertible.hh
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-07-04 08:42:24 +0200
committerGitHub <noreply@github.com>2022-07-04 08:42:24 +0200
commit5b3b06187b79ff859bb7da81362d2234c6e64a50 (patch)
tree9813d48d3da397f085b2f4cfda7a31ebb17a19f1 /thirdparty/harfbuzz/src/hb-bit-set-invertible.hh
parent5cc830892af0710614053d7622e8148fa2ef3963 (diff)
parent6c27d9d6244303754e111eccc7c1a42df5b9bca1 (diff)
Merge pull request #62696 from bruvzg/hb441
HarfBuzz: Update to version 4.4.1
Diffstat (limited to 'thirdparty/harfbuzz/src/hb-bit-set-invertible.hh')
-rw-r--r--thirdparty/harfbuzz/src/hb-bit-set-invertible.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/thirdparty/harfbuzz/src/hb-bit-set-invertible.hh b/thirdparty/harfbuzz/src/hb-bit-set-invertible.hh
index caea47d8d3..27fb0732ea 100644
--- a/thirdparty/harfbuzz/src/hb-bit-set-invertible.hh
+++ b/thirdparty/harfbuzz/src/hb-bit-set-invertible.hh
@@ -80,7 +80,7 @@ struct hb_bit_set_invertible_t
next (&v);
return v == INVALID;
}
- uint32_t hash () const { return s.hash () ^ inverted; }
+ uint32_t hash () const { return s.hash () ^ (uint32_t) inverted; }
hb_codepoint_t get_min () const
{
@@ -100,7 +100,7 @@ struct hb_bit_set_invertible_t
void add (hb_codepoint_t g) { unlikely (inverted) ? s.del (g) : s.add (g); }
bool add_range (hb_codepoint_t a, hb_codepoint_t b)
- { return unlikely (inverted) ? (s.del_range (a, b), true) : s.add_range (a, b); }
+ { return unlikely (inverted) ? ((void) s.del_range (a, b), true) : s.add_range (a, b); }
template <typename T>
void add_array (const T *array, unsigned int count, unsigned int stride=sizeof(T))