fix variable type in for loop

This commit is contained in:
skilion 2017-05-28 19:51:02 +02:00
parent 9030a107b7
commit 7fec22bef1

View file

@ -35,7 +35,7 @@ struct QuickXor
byte low = cast(byte) (bitsInVectorCell - vectorOffset);
byte xoredByte = 0;
for (int j = i; j < array.length; j += widthInBits) {
for (size_t j = i; j < array.length; j += widthInBits) {
xoredByte ^= array[j];
}