summaryrefslogtreecommitdiffstats
path: root/programs/bench.c
diff options
context:
space:
mode:
Diffstat (limited to 'programs/bench.c')
-rw-r--r--programs/bench.c6
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);