commit | 819faa05307aa192015f4b43d8103a35e87d6cc7 | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <behdad@behdad.org> | Sun May 27 10:09:18 2012 -0400 |
committer | Behdad Esfahbod <behdad@behdad.org> | Sun May 27 10:09:18 2012 -0400 |
tree | 633f216627e8fe83032532b4e1ef3df7817067b1 | |
parent | 303d5850ec0516e198db241456b0cfc4899ef9c0 [diff] [blame] |
Minor
diff --git a/src/hb-atomic-private.hh b/src/hb-atomic-private.hh index b587fde..ba52773 100644 --- a/src/hb-atomic-private.hh +++ b/src/hb-atomic-private.hh
@@ -78,7 +78,7 @@ #define HB_ATOMIC_INT_NIL 1 typedef volatile int hb_atomic_int_t; -#define hb_atomic_int_add(AI, V) ((AI) += (V), (AI) - (V)) +#define hb_atomic_int_add(AI, V) (((AI) += (V)) - (V)) #define hb_atomic_int_set(AI, V) ((void) ((AI) = (V))) #define hb_atomic_int_get(AI) (AI)