From e7fa5e7cb16bd39b0983386d36a88c6c3cac1bbb Mon Sep 17 00:00:00 2001 From: trav90 Date: Fri, 10 Aug 2018 15:04:21 -0500 Subject: Remove the const to fix the -Wignored-qualifiers warning with GCC 8 --- netwerk/cache/nsDiskCacheEntry.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'netwerk') diff --git a/netwerk/cache/nsDiskCacheEntry.h b/netwerk/cache/nsDiskCacheEntry.h index 3bec33053..506886cb7 100644 --- a/netwerk/cache/nsDiskCacheEntry.h +++ b/netwerk/cache/nsDiskCacheEntry.h @@ -32,7 +32,7 @@ struct nsDiskCacheEntry { mKeySize + mMetaDataSize; } - char* Key() { return reinterpret_cast(this) + + char* Key() { return reinterpret_cast(this) + sizeof(nsDiskCacheEntry); } -- cgit v1.2.3