BYTE* curr = samples;
while (i <= 4) {
*(sampleSizes + i - 1) = currSize;
- for (int j = 0; j < currSize; j++) {
+ for (size_t j = 0; j < currSize; j++) {
*(curr++) = (BYTE)i;
}
i++;
}
/* if asked, supply the decompressed version */
-
+ DISPLAY("Attempting to decompress using the dictionary\n");
returnValue = ZSTD_decompress_usingDict(dctx, decompressedPtr, MAX_DECOMPRESSED_SIZE,
- fr.srcStart, (BYTE*)fr.src - (BYTE*)fr.srcStart,
+ fr.dataStart, (BYTE*)fr.data - (BYTE*)fr.dataStart,
fullDict, dictSize);
if (ZSTD_isError(returnValue)) {