mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-11-16 17:31:51 +03:00
cStyleCasts
This commit is contained in:
@@ -70,7 +70,7 @@ TEST(CRC, alignments) {
|
||||
|
||||
// test the crc32c function at different alignments
|
||||
for (u8 i = 0; i < 32; i++) {
|
||||
u32 crc = Crc32c_ComputeBuf(0, (u8 *)a.data() + i, 4000);
|
||||
u32 crc = Crc32c_ComputeBuf(0, reinterpret_cast<u8 *>(a.data()) + i, 4000);
|
||||
ASSERT_EQ(crc, 0x94f04377U);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user