diff --git a/XXHash/ConsoleSample/Crc32C.cs b/XXHash/ConsoleSample/Crc32C.cs index 9cf295c..765f582 100644 --- a/XXHash/ConsoleSample/Crc32C.cs +++ b/XXHash/ConsoleSample/Crc32C.cs @@ -93,7 +93,7 @@ protected override void HashCore(byte[] array, int ibStart, int cbSize) var curPtr = buf; while (cbSize-- > 0) { - _Hash = (_Hash >> 8) ^ _Crc32CTable[(_Hash ^ *curPtr++) & 0xFF]; + _Hash = (_Hash >> 8) ^ table[(_Hash ^ *curPtr++) & 0xFF]; } } }