diff options
author | Yann Collet <cyan@fb.com> | 2022-07-29 21:31:08 (GMT) |
---|---|---|
committer | Yann Collet <cyan@fb.com> | 2022-07-29 21:31:08 (GMT) |
commit | 9978bb90cf45e455a146a7beaf2e4d08baaed6c0 (patch) | |
tree | fd59adcab9524f98757f967880b1fcd492c05215 /programs | |
parent | 5797d570180013f62f75dbab23300d5de295a8a6 (diff) | |
download | lz4-9978bb90cf45e455a146a7beaf2e4d08baaed6c0.zip lz4-9978bb90cf45e455a146a7beaf2e4d08baaed6c0.tar.gz lz4-9978bb90cf45e455a146a7beaf2e4d08baaed6c0.tar.bz2 |
fixed minor pedantic warning
Diffstat (limited to 'programs')
-rw-r--r-- | programs/bench.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/programs/bench.c b/programs/bench.c index 00de426..5a56e6f 100644 --- a/programs/bench.c +++ b/programs/bench.c @@ -321,8 +321,10 @@ LZ4F_decompress_binding(const char* src, char* dst, { size_t dstSize = (size_t)dstCapacity; size_t readSize = (size_t)srcSize; - LZ4F_decompressOptions_t const dOpt = { 1, g_skipChecksums, 0, 0 }; - size_t const decStatus = LZ4F_decompress(g_dctx, + LZ4F_decompressOptions_t dOpt = { 1, 0, 0, 0 }; + size_t decStatus; + dOpt.skipChecksums = g_skipChecksums; + decStatus = LZ4F_decompress(g_dctx, dst, &dstSize, src, &readSize, &dOpt); |