mirror of
https://github.com/facebook/zstd
synced 2026-08-22 22:32:07 -04:00
Merge pull request #4378 from Cyan4973/fix_zstreamtest_minor
fix minor warning in zstreamtest
This commit is contained in:
commit
e26dde3dcf
1 changed files with 1 additions and 1 deletions
|
|
@ -1896,7 +1896,7 @@ static int basicUnitTests(U32 seed, double compressibility, int bigTests)
|
||||||
CHECK_Z(ZSTD_CCtx_setParameter(zc, ZSTD_c_checksumFlag, 1));
|
CHECK_Z(ZSTD_CCtx_setParameter(zc, ZSTD_c_checksumFlag, 1));
|
||||||
/* Write a bunch of 6 byte blocks */
|
/* Write a bunch of 6 byte blocks */
|
||||||
while (remainingInput > 0) {
|
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);
|
const size_t kSmallBlockSize = sizeof(testBuffer);
|
||||||
ZSTD_inBuffer in = {testBuffer, kSmallBlockSize, 0};
|
ZSTD_inBuffer in = {testBuffer, kSmallBlockSize, 0};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue