From a5e4f6d6088f6ed37fb1d68d3682b8eb4c9b46fe Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 10 Jun 2015 10:57:46 -0700 Subject: [PATCH] Fix warnings: "member call on null pointer of type" https://bugzilla.mozilla.org/show_bug.cgi?id=1167119 --- src/hb-private.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hb-private.hh b/src/hb-private.hh index 06d7f22..45afc20 100644 --- a/src/hb-private.hh +++ b/src/hb-private.hh @@ -247,8 +247,8 @@ ASSERT_STATIC (sizeof (hb_var_int_t) == 4); /* Void! */ struct _hb_void_t {}; -typedef const _hb_void_t &hb_void_t; -#define HB_VOID (* (const _hb_void_t *) NULL) +typedef const _hb_void_t *hb_void_t; +#define HB_VOID ((const _hb_void_t *) NULL) /* Return the number of 1 bits in mask. */ static inline HB_CONST_FUNC unsigned int -- 2.7.4