[atomic] Fix cast to fallback ptr_get()

This commit is contained in:
Behdad Esfahbod 2018-08-01 00:22:18 -07:00
parent 7a4d576e81
commit dfc86e4b35
1 changed files with 1 additions and 1 deletions

View File

@ -229,7 +229,7 @@ struct hb_atomic_int_t
};
#define hb_atomic_ptr_get(P) hb_atomic_ptr_impl_get(P)
#define hb_atomic_ptr_get(P) hb_atomic_ptr_impl_get((void **) P)
#define hb_atomic_ptr_cmpexch(P,O,N) hb_atomic_ptr_impl_cmpexch((P),(O),(N))