Crc32: make the polynomial literal explicitly unsigned.
This commit is contained in:
parent
7cb9ea28b2
commit
955ec010b8
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ struct Crc32 {
|
|||
};
|
||||
|
||||
const Containers::StaticArray<256, UnsignedInt> Crc32::table = []{
|
||||
UnsignedInt polynomial = 0xEDB88320;
|
||||
UnsignedInt polynomial = 0xEDB88320u;
|
||||
Containers::StaticArray<256, UnsignedInt> temp{ValueInit};
|
||||
|
||||
for(UnsignedInt i = 0; i < 256; i++) {
|
||||
|
|
Loading…
Reference in a new issue