Bug 1558054 - Fix warning "type qualifiers ignored on cast result type" r=jfkthame
authorSylvestre Ledru <sledru@mozilla.com>
Sun, 09 Jun 2019 15:34:20 +0000
changeset 477992 f81c47501fefae9be2ed604fb2a8a43c7973753c
parent 477991 9d1e54fc5ca2caf128393f953dbbb2441a2d8b81
child 477993 65a152806f0689ac90fd4742363e1d7e3f839892
push id36131
push usercbrindusan@mozilla.com
push dateSun, 09 Jun 2019 21:41:26 +0000
treeherdermozilla-central@65a152806f06 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjfkthame
bugs1558054
milestone69.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1558054 - Fix warning "type qualifiers ignored on cast result type" r=jfkthame Differential Revision: https://phabricator.services.mozilla.com/D34286
gfx/thebes/gfxFontEntry.h
--- a/gfx/thebes/gfxFontEntry.h
+++ b/gfx/thebes/gfxFontEntry.h
@@ -576,17 +576,17 @@ class gfxFontEntry {
   // finished with it, so that we know when it can be deleted.
   gr_face* mGrFace = nullptr;
 
   // hashtable to map raw table data ptr back to its owning blob, for use by
   // graphite table-release callback
   nsDataHashtable<nsPtrHashKey<const void>, 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;
   }
 
   // Cached pointers to tables within 'trak', initialized by ParseTrakTable.
   const mozilla::AutoSwap_PRInt16* mTrakValues;
   const mozilla::AutoSwap_PRInt32* mTrakSizeTable;