Minor fixes

This commit is contained in:
SirLynix
2022-04-04 08:17:03 +02:00
parent 83de0939bb
commit 66ff6cfa81
10 changed files with 12 additions and 15 deletions

View File

@@ -264,7 +264,7 @@ namespace Nz
{
UInt32 crc = 0xFFFFFFFFu;
for (std::size_t i = 0u; auto c = str[i]; ++i)
for (std::size_t i = 0u; str[i]; ++i)
crc = Detail::crc32Table[(crc ^ str[i]) & 0xFF] ^ (crc >> 8);
return ~crc;