summaryrefslogtreecommitdiffstats
path: root/toolkit/components/url-classifier
diff options
context:
space:
mode:
authortrav90 <travawine@protonmail.ch>2018-08-10 15:21:45 -0500
committertrav90 <travawine@protonmail.ch>2018-08-10 15:21:45 -0500
commit9b48c3fa58c4926341e1668fdfec131ada3147a1 (patch)
tree708b9afdc8fd84dfeafb22327732abeda61a4087 /toolkit/components/url-classifier
parentf7219526788d3170a5d8de33f7adf13afe38d581 (diff)
downloadUXP-9b48c3fa58c4926341e1668fdfec131ada3147a1.tar
UXP-9b48c3fa58c4926341e1668fdfec131ada3147a1.tar.gz
UXP-9b48c3fa58c4926341e1668fdfec131ada3147a1.tar.lz
UXP-9b48c3fa58c4926341e1668fdfec131ada3147a1.tar.xz
UXP-9b48c3fa58c4926341e1668fdfec131ada3147a1.zip
Remove the const to fix the -Wignored-qualifiers warning with GCC 8 (Part 2)
Diffstat (limited to 'toolkit/components/url-classifier')
-rw-r--r--toolkit/components/url-classifier/Entries.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/components/url-classifier/Entries.h b/toolkit/components/url-classifier/Entries.h
index 969f4f739..b7fb34516 100644
--- a/toolkit/components/url-classifier/Entries.h
+++ b/toolkit/components/url-classifier/Entries.h
@@ -100,7 +100,7 @@ struct SafebrowsingHash
aStr.SetCapacity(2 * len);
for (size_t i = 0; i < len; ++i) {
- const char c = static_cast<const char>(buf[i]);
+ const char c = static_cast<char>(buf[i]);
aStr.Append(lut[(c >> 4) & 0x0F]);
aStr.Append(lut[c & 15]);
}