diff options
author | Moonchild <mcwerewolf@gmail.com> | 2018-08-13 18:52:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-13 18:52:43 +0200 |
commit | ba2882cf71d06e121b7a023f954388768a5964dd (patch) | |
tree | 70f1e0754b0bd39151721c248c3d2328f53ae71d /toolkit/components/downloads | |
parent | 727eefc7c4f2b9197dc26d298340a12ca4feae36 (diff) | |
parent | 9b48c3fa58c4926341e1668fdfec131ada3147a1 (diff) | |
download | UXP-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/downloads')
-rw-r--r-- | toolkit/components/downloads/ApplicationReputation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/components/downloads/ApplicationReputation.cpp b/toolkit/components/downloads/ApplicationReputation.cpp index 7bd219dbf..1c94d6713 100644 --- a/toolkit/components/downloads/ApplicationReputation.cpp +++ b/toolkit/components/downloads/ApplicationReputation.cpp @@ -1000,7 +1000,7 @@ PendingLookup::GetSpecHash(nsACString& aSpec, nsACString& hexEncodedHash) static const char* const hex = "0123456789ABCDEF"; hexEncodedHash.SetCapacity(2 * binaryHash.Length()); for (size_t i = 0; i < binaryHash.Length(); ++i) { - auto c = static_cast<const unsigned char>(binaryHash[i]); + auto c = static_cast<unsigned char>(binaryHash[i]); hexEncodedHash.Append(hex[(c >> 4) & 0x0F]); hexEncodedHash.Append(hex[c & 0x0F]); } |