From 7f907d5c232fe89c206af0a146794b755df8f1ae Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Tue, 29 Apr 2025 08:55:19 -0700 Subject: [PATCH] fix minor warning in zstreamtest --- tests/zstreamtest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/zstreamtest.c b/tests/zstreamtest.c index 760d9f26c..88a20a3e2 100644 --- a/tests/zstreamtest.c +++ b/tests/zstreamtest.c @@ -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};