Use crc32_z() over crc32(), since it size_t for length

This commit is contained in:
Azat Khuzhin 2019-10-25 23:32:29 +03:00
parent 2d2e738085
commit 04f1e6b2cc

View File

@ -62,7 +62,7 @@ struct CRC32ZLIBImpl
static constexpr auto name = "CRC32";
static UInt32 make_crc(const unsigned char *buf, size_t size)
{ return crc32(0L, buf, size); }
{ return crc32_z(0L, buf, size); }
};
} // \anonymous