Remove the const to fix the -Wignored-qualifiers warning with GCC 8

This commit is contained in:
trav90 2018-08-10 15:04:21 -05:00 committed by Roy Tam
commit a52bf9e82b
4 changed files with 5 additions and 5 deletions

View file

@ -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);
}
/**