diff options
author | Jia Tan <jiat0218@gmail.com> | 2023-12-07 21:48:07 +0800 |
---|---|---|
committer | Jia Tan <jiat0218@gmail.com> | 2023-12-07 21:48:07 +0800 |
commit | d0b24efe6cdc47db5b0fdf6306f70a2e0e63e49e (patch) | |
tree | f6dcc8fa6dff7b87e52967a7abd97b9e80ac59a6 /src | |
parent | Update THANKS. (diff) | |
download | xz-d0b24efe6cdc47db5b0fdf6306f70a2e0e63e49e.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')
0 files changed, 0 insertions, 0 deletions