changing for loop declaration
This commit is contained in:
parent
147ef05f12
commit
7a26390989
@ -1490,9 +1490,12 @@ static int generateCorpusWithDict(U32 seed, unsigned numFiles, const char* const
|
||||
/* print differences if any */
|
||||
{
|
||||
size_t checkDiff = (BYTE*)fr.src - (BYTE*)fr.srcStart;
|
||||
for (size_t i = 0; i < checkDiff; i++) {
|
||||
if (*((BYTE*)(fr.srcStart + i)) != *((BYTE*)(decompressedPtr + i))) {
|
||||
DISPLAY("i: %zu, fr: %u, decomp: %u\n", i, *((BYTE*)(fr.srcStart + i)), *((BYTE*)(decompressedPtr + i)));
|
||||
{
|
||||
size_t i;
|
||||
for (i = 0; i < checkDiff; i++) {
|
||||
if (*((BYTE*)(fr.srcStart + i)) != *((BYTE*)(decompressedPtr + i))) {
|
||||
DISPLAY("i: %zu, fr: %u, decomp: %u\n", i, *((BYTE*)(fr.srcStart + i)), *((BYTE*)(decompressedPtr + i)));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user