From: Paul Cruz Date: Mon, 19 Jun 2017 21:21:35 +0000 (-0700) Subject: added comment to anotate decompressed error code X-Git-Tag: v1.3.0~1^2~15^2~50 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a52d72712c3705006c7e182f2ffacd10e3bae24;p=thirdparty%2Fzstd.git added comment to anotate decompressed error code --- diff --git a/tests/decodecorpus.c b/tests/decodecorpus.c index 86ec0e985..b26ebc214 100644 --- a/tests/decodecorpus.c +++ b/tests/decodecorpus.c @@ -1452,6 +1452,7 @@ static int generateCorpusWithDict(U32 seed, unsigned numFiles, const char* const fullDict, dictSize); { + /* 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))) {