diff options
author | trav90 <travawine@protonmail.ch> | 2018-08-10 15:04:21 -0500 |
---|---|---|
committer | trav90 <travawine@protonmail.ch> | 2018-08-10 15:04:21 -0500 |
commit | e7fa5e7cb16bd39b0983386d36a88c6c3cac1bbb (patch) | |
tree | 4f40e66e7ab2f26a45ab18955a36f2a338c25fae /xpcom/string | |
parent | 9bda00c75e7602ce1d8390ba8c229114cf8c5983 (diff) | |
download | UXP-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 'xpcom/string')
-rw-r--r-- | xpcom/string/nsReadableUtilsImpl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xpcom/string/nsReadableUtilsImpl.h b/xpcom/string/nsReadableUtilsImpl.h index ff1497b51..94f18dffc 100644 --- a/xpcom/string/nsReadableUtilsImpl.h +++ b/xpcom/string/nsReadableUtilsImpl.h @@ -18,7 +18,7 @@ inline bool IsASCII(char16_t aChar) { inline const char16_t* aligned(const char16_t* aPtr, const uintptr_t aMask) { return reinterpret_cast<const char16_t*>( - reinterpret_cast<const uintptr_t>(aPtr) & ~aMask); + reinterpret_cast<uintptr_t>(aPtr) & ~aMask); } /** |