Fix warnings: "member call on null pointer of type"

https://bugzilla.mozilla.org/show_bug.cgi?id=1167119
This commit is contained in:
Behdad Esfahbod 2015-06-10 10:57:46 -07:00
parent 16dac7eccf
commit a5e4f6d608
1 changed files with 2 additions and 2 deletions

View File

@ -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