mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 23:38:38 +09:00
Remove the const to fix the -Wignored-qualifiers warning with GCC 8 (Part 2)
This commit is contained in:
parent
c8cdcbc5a7
commit
8fd121628a
4 changed files with 5 additions and 5 deletions
|
|
@ -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]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue