src/hb-atomic-private.hh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit dfc86e4b35ffdeb8f73e83511712e75413bbb7d9
Author: Behdad Esfahbod <[email protected]>
Date:   Wed Aug 1 00:22:18 2018 -0700

    [atomic] Fix cast to fallback ptr_get()

diff --git a/src/hb-atomic-private.hh b/src/hb-atomic-private.hh
index f60c46e3..852b2242 100644
--- a/src/hb-atomic-private.hh
+++ b/src/hb-atomic-private.hh
@@ -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))
 
 
_______________________________________________
HarfBuzz mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/harfbuzz

Reply via email to