From 3495a6b291f49079485854bb185a52c29d06cd2f Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Fri, 10 May 2024 20:22:58 +0300 Subject: [PATCH] xz: Fix integer type from uint64_t to uint32_t lzma_options_lzma.dict_size is uint32_t so use it here too. Fixes: 5f0c5a04388f8334962c70bc37a8c2ff8f605e0a (cherry picked from commit 31358c057c9de9d6aba96bae112b2d17942de7cb) --- src/xz/coder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xz/coder.c b/src/xz/coder.c index 0d3dc2cd..84eedd0e 100644 --- a/src/xz/coder.c +++ b/src/xz/coder.c @@ -659,7 +659,7 @@ coder_set_compression_settings(void) // Original dictionary sizes are used to show how each // filter's dictionary was reduced. - uint64_t orig_dict_size; + uint32_t orig_dict_size; // Index of the LZMA filter in the filters member. We only // adjust this filter's memusage because we don't know how