diff options
author | Jia Tan <jiat0218@gmail.com> | 2023-12-07 21:48:07 +0800 |
---|---|---|
committer | Jia Tan <jiat0218@gmail.com> | 2023-12-22 20:02:06 +0800 |
commit | 3f51a4415a6d8f9be87512a502161141cd85dffa (patch) | |
tree | 6a00157417d0f74c4ff2a703d5817fa34bf40783 /src/liblzma/rangecoder/range_decoder.h | |
parent | Update THANKS. (diff) | |
download | xz-3f51a4415a6d8f9be87512a502161141cd85dffa.tar.xz |
Tests: Silence -Wsign-conversion warning on GCC version < 10.
Since GCC version 10, GCC no longer complains about simple implicit
integer conversions with Arithmetic operators.
For instance:
uint8_t a = 5;
uint32_t b = a + 5;
Give a warning on GCC 9 and earlier but this:
uint8_t a = 5;
uint32_t b = (a + 5) * 2;
Gives a warning with GCC 10+.
Diffstat (limited to 'src/liblzma/rangecoder/range_decoder.h')
0 files changed, 0 insertions, 0 deletions