sync akg code.

This commit is contained in:
chenlei_autodiff 2021-11-12 16:02:40 +08:00
parent 95f0c98747
commit 93ed4033b6
2 changed files with 2 additions and 2 deletions

2
akg

@ -1 +1 @@
Subproject commit 5f5eeb31ffdf5a1dc973e7f904dc88ad7581bc5d
Subproject commit e54b832e49abf66303adca1c1f933fd1f4e9f40d

View File

@ -285,7 +285,7 @@ static inline void CRC32T8(uint32 *crc, const uint8 **p) {
uint32 Crc32c::MakeCrc32c(uint32 init_crc, const char *data, size_t size) {
MS_EXCEPT_CHECK_NULL(data);
uint32_t crc = init_crc ^ 0xffffffffu;
const unsigned int OFFSET = 8;
const int OFFSET = 8;
// Get the origin begin and end address(not alignment)
auto *bp = reinterpret_cast<const uint8_t *>(data);