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 --- xpcom/string/nsReadableUtilsImpl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xpcom/string/nsReadableUtilsImpl.h') 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( - reinterpret_cast(aPtr) & ~aMask); + reinterpret_cast(aPtr) & ~aMask); } /** -- cgit v1.2.3