From d6cc5ee0035d46d78cf16d417ba34ba278ef122b Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sun, 9 Jun 2019 15:34:20 +0000 Subject: [PATCH] Bug 1558054 - Fix warning "type qualifiers ignored on cast result type" r=jfkthame Differential Revision: https://phabricator.services.mozilla.com/D34286 --HG-- extra : moz-landing-system : lando --- gfx/thebes/gfxFontEntry.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/thebes/gfxFontEntry.h b/gfx/thebes/gfxFontEntry.h index 911a01685850..adac24a08c52 100644 --- a/gfx/thebes/gfxFontEntry.h +++ b/gfx/thebes/gfxFontEntry.h @@ -581,7 +581,7 @@ class gfxFontEntry { nsDataHashtable, void*>* mGrTableMap = nullptr; // For AAT font, a strong reference to the 'trak' table (if present). - hb_blob_t* const kTrakTableUninitialized = (hb_blob_t* const)(intptr_t(-1)); + hb_blob_t* const kTrakTableUninitialized = (hb_blob_t*)(intptr_t(-1)); hb_blob_t* mTrakTable = kTrakTableUninitialized; bool TrakTableInitialized() const { return mTrakTable != kTrakTableUninitialized;