summaryrefslogtreecommitdiffstats
path: root/toolkit/components/url-classifier/Entries.h
diff options
context:
space:
mode:
authorMoonchild <mcwerewolf@gmail.com>2018-08-13 18:52:43 +0200
committerGitHub <noreply@github.com>2018-08-13 18:52:43 +0200
commitba2882cf71d06e121b7a023f954388768a5964dd (patch)
tree70f1e0754b0bd39151721c248c3d2328f53ae71d /toolkit/components/url-classifier/Entries.h
parent727eefc7c4f2b9197dc26d298340a12ca4feae36 (diff)
parent9b48c3fa58c4926341e1668fdfec131ada3147a1 (diff)
downloadUXP-ba2882cf71d06e121b7a023f954388768a5964dd.tar
UXP-ba2882cf71d06e121b7a023f954388768a5964dd.tar.gz
UXP-ba2882cf71d06e121b7a023f954388768a5964dd.tar.lz
UXP-ba2882cf71d06e121b7a023f954388768a5964dd.tar.xz
UXP-ba2882cf71d06e121b7a023f954388768a5964dd.zip
Merge pull request #706 from trav90/gcc8
Fix/silence some warnings with GCC 8
Diffstat (limited to 'toolkit/components/url-classifier/Entries.h')
-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]);
}