diff options
author | trav90 <travawine@protonmail.ch> | 2018-08-10 15:21:45 -0500 |
---|---|---|
committer | trav90 <travawine@protonmail.ch> | 2018-08-10 15:21:45 -0500 |
commit | ad1f1bebd4a42139798cac61b7d0fdf56ad80fd3 (patch) | |
tree | 708b9afdc8fd84dfeafb22327732abeda61a4087 /embedding/components | |
parent | 3eea26cd96239dcea630701bbe47fb1870bf737f (diff) | |
download | uxp-ad1f1bebd4a42139798cac61b7d0fdf56ad80fd3.tar.gz |
Remove the const to fix the -Wignored-qualifiers warning with GCC 8 (Part 2)
Diffstat (limited to 'embedding/components')
-rw-r--r-- | embedding/components/find/nsFind.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embedding/components/find/nsFind.cpp b/embedding/components/find/nsFind.cpp index cbc42298bb..5fc1f9db68 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); |