[atomic] Fix warnings

https://bugzilla.mozilla.org/show_bug.cgi?id=1554306
This commit is contained in:
Behdad Esfahbod 2019-05-25 12:59:01 -04:00
parent 941c1b6d71
commit 85b68a42af
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@ static_assert ((sizeof (long) == sizeof (void *)), "");
#define HB_ATOMIC_INT_NIL 1 /* Warn that fallback implementation is in use. */
#define _hb_memory_barrier()
#define _hb_memory_barrier() do {} while (0)
#define hb_atomic_int_impl_add(AI, V) ((*(AI) += (V)) - (V))