1
0
mirror of https://github.com/facebook/zstd.git synced 2025-07-22 03:41:59 +03:00

Merge pull request #4378 from Cyan4973/fix_zstreamtest_minor

fix minor warning in zstreamtest
This commit is contained in:
Yann Collet
2025-04-29 14:01:14 -07:00
committed by GitHub

View File

@ -1896,7 +1896,7 @@ static int basicUnitTests(U32 seed, double compressibility, int bigTests)
CHECK_Z(ZSTD_CCtx_setParameter(zc, ZSTD_c_checksumFlag, 1));
/* Write a bunch of 6 byte blocks */
while (remainingInput > 0) {
char testBuffer[6] = "\xAA\xAA\xAA\xAA\xAA\xAA";
char testBuffer[6] = { 0x66, 0x66, 0x66, 0x66, 0x66, 0x66 };
const size_t kSmallBlockSize = sizeof(testBuffer);
ZSTD_inBuffer in = {testBuffer, kSmallBlockSize, 0};