diff --git a/cmd/tools/vtest-fixed.v b/cmd/tools/vtest-fixed.v index 5b9d7f6816..67b8ce0e5d 100644 --- a/cmd/tools/vtest-fixed.v +++ b/cmd/tools/vtest-fixed.v @@ -64,7 +64,6 @@ const ( 'vlib/v/tests/typeof_test.v', 'vlib/v/tests/valgrind/valgrind_test.v', // ubuntu-musl only 'vlib/vweb/assets/assets_test.v', - 'vlib/hash/crc32/crc32_test.v' ] ) diff --git a/vlib/hash/crc32/crc32.v b/vlib/hash/crc32/crc32.v index 6020df563d..5ddd796452 100644 --- a/vlib/hash/crc32/crc32.v +++ b/vlib/hash/crc32/crc32.v @@ -8,9 +8,9 @@ module crc32 // polynomials pub const ( - ieee = 0xedb88320 - castagnoli = 0x82f63b78 - koopman = 0xeb31d82e + ieee = u32(0xedb88320) + castagnoli = u32(0x82f63b78) + koopman = u32(0xeb31d82e) ) // The size of a CRC-32 checksum in bytes.