From ed35dea8c07f1ecc50df48657bb330fcd77ca8e3 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 6 Dec 2019 04:37:11 +0000 Subject: [PATCH] Fourth try... sighs --- src/hb-algs.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-algs.hh b/src/hb-algs.hh index b00015e08..ce17bd44d 100644 --- a/src/hb-algs.hh +++ b/src/hb-algs.hh @@ -655,7 +655,7 @@ hb_bsearch_impl (V** out, #pragma GCC diagnostic ignored "-Wcast-align" V* p = (V*) (((const char *) base) + (mid * stride)); #pragma GCC diagnostic pop - int c = compar ((const void *) &key, (const void *) p, ds...); + int c = compar ((const void *) hb_addressof (key), (const void *) p, ds...); if (c < 0) max = mid - 1; else if (c > 0)