diff --git a/src/hb-cache-private.hh b/src/hb-cache-private.hh index 7394fbb39..a0928a051 100644 --- a/src/hb-cache-private.hh +++ b/src/hb-cache-private.hh @@ -36,7 +36,7 @@ template = cache_bits); - ASSERT_STATIC (key_bits + value_bits - cache_bits < 8 * sizeof (hb_atomic_int_t)); + ASSERT_STATIC (key_bits + value_bits - cache_bits < 8 * sizeof (unsigned int)); inline void clear (void) { @@ -46,7 +46,7 @@ struct hb_cache_t inline bool get (unsigned int key, unsigned int *value) { unsigned int k = key & ((1<> value_bits) != (key >> cache_bits)) return false; } @@ -57,12 +57,12 @@ struct hb_cache_t return false; /* Overflows */ unsigned int k = key & ((1<>cache_bits)< hb_cmap_cache_t;