diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2024-02-14 19:05:58 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2024-02-14 19:05:58 +0200 |
commit | 160b6862646d95dfdbd73ab7f1031ede0f54992d (patch) | |
tree | e42325fa17ece1350f1c2207c66c8ba43e45b240 /src | |
parent | Add NEWS for 5.5.2beta. (diff) | |
download | xz-160b6862646d95dfdbd73ab7f1031ede0f54992d.tar.xz |
liblzma: Silence a warning.
Diffstat (limited to 'src')
-rw-r--r-- | src/liblzma/rangecoder/range_decoder.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liblzma/rangecoder/range_decoder.h b/src/liblzma/rangecoder/range_decoder.h index ddac1060..4c09eeae 100644 --- a/src/liblzma/rangecoder/range_decoder.h +++ b/src/liblzma/rangecoder/range_decoder.h @@ -878,7 +878,7 @@ do { \ uint32_t t0; \ uint32_t t1; \ uint32_t t_prob; \ - uint32_t t_match_byte = (match_byte_value) << 1; \ + uint32_t t_match_byte = (uint32_t)(match_byte_value) << 1; \ uint32_t t_match_bit = t_match_byte; \ uint32_t t_offset = 0x100; \ symbol = 1; \ |