diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/benchmarks/benchmark_inflate.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/benchmarks/benchmark_inflate.cc b/test/benchmarks/benchmark_inflate.cc index 49b94e1902..5d0c7dba52 100644 --- a/test/benchmarks/benchmark_inflate.cc +++ b/test/benchmarks/benchmark_inflate.cc @@ -128,10 +128,10 @@ public: return; } - strm.avail_in = compressed_sizes[index]; // Size of the input - strm.next_in = compressed_buff[index]; // Pointer to the compressed data - strm.avail_out = MAX_SIZE; // Max size for output - strm.next_out = outbuff; // Output buffer + strm.avail_in = (uint32_t)compressed_sizes[index]; // Size of the input + strm.next_in = compressed_buff[index]; // Pointer to the compressed data + strm.avail_out = MAX_SIZE; // Max size for output + strm.next_out = outbuff; // Output buffer // Perform decompression err = PREFIX(inflate)(&strm, Z_FINISH); |
