]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
fix minor warning in zstreamtest 4378/head
authorYann Collet <cyan@fb.com>
Tue, 29 Apr 2025 15:55:19 +0000 (08:55 -0700)
committerYann Collet <cyan@fb.com>
Tue, 29 Apr 2025 16:56:00 +0000 (09:56 -0700)
tests/zstreamtest.c

index 760d9f26cc30bab367ae448ae152949d005aeaf2..88a20a3e2701e342554d0aee316f82c9761e96a9 100644 (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};