summaryrefslogtreecommitdiffstats
path: root/netwerk
diff options
context:
space:
mode:
authortrav90 <travawine@protonmail.ch>2018-08-10 15:04:21 -0500
committertrav90 <travawine@protonmail.ch>2018-08-10 15:04:21 -0500
commite7fa5e7cb16bd39b0983386d36a88c6c3cac1bbb (patch)
tree4f40e66e7ab2f26a45ab18955a36f2a338c25fae /netwerk
parent9bda00c75e7602ce1d8390ba8c229114cf8c5983 (diff)
downloadUXP-e7fa5e7cb16bd39b0983386d36a88c6c3cac1bbb.tar
UXP-e7fa5e7cb16bd39b0983386d36a88c6c3cac1bbb.tar.gz
UXP-e7fa5e7cb16bd39b0983386d36a88c6c3cac1bbb.tar.lz
UXP-e7fa5e7cb16bd39b0983386d36a88c6c3cac1bbb.tar.xz
UXP-e7fa5e7cb16bd39b0983386d36a88c6c3cac1bbb.zip
Remove the const to fix the -Wignored-qualifiers warning with GCC 8
Diffstat (limited to 'netwerk')
-rw-r--r--netwerk/cache/nsDiskCacheEntry.h2
1 files changed, 1 insertions, 1 deletions
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<char*const>(this) +
+ char* Key() { return reinterpret_cast<char*>(this) +
sizeof(nsDiskCacheEntry);
}