From 9b48c3fa58c4926341e1668fdfec131ada3147a1 Mon Sep 17 00:00:00 2001 From: trav90 Date: Fri, 10 Aug 2018 15:21:45 -0500 Subject: Remove the const to fix the -Wignored-qualifiers warning with GCC 8 (Part 2) --- embedding/components/find/nsFind.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'embedding/components/find') diff --git a/embedding/components/find/nsFind.cpp b/embedding/components/find/nsFind.cpp index cbc42298b..5fc1f9db6 100644 --- a/embedding/components/find/nsFind.cpp +++ b/embedding/components/find/nsFind.cpp @@ -33,7 +33,7 @@ using namespace mozilla; // Yikes! Casting a char to unichar can fill with ones! -#define CHAR_TO_UNICHAR(c) ((char16_t)(const unsigned char)c) +#define CHAR_TO_UNICHAR(c) ((char16_t)(unsigned char)c) static NS_DEFINE_CID(kCContentIteratorCID, NS_CONTENTITERATOR_CID); static NS_DEFINE_CID(kCPreContentIteratorCID, NS_PRECONTENTITERATOR_CID); -- cgit v1.2.3