Tests: Silence warnings from -Wsign-conversion.
commit49245bb31e215ad455a1ab85e4ed6783152dc522
authorLasse Collin <lasse.collin@tukaani.org>
Thu, 12 Jan 2023 01:51:07 +0000 (12 03:51 +0200)
committerLasse Collin <lasse.collin@tukaani.org>
Thu, 12 Jan 2023 01:56:24 +0000 (12 03:56 +0200)
treeb416540b384b2113709431599e93d80a38111757
parent3f13bf6b9e8624cbe6d6e3e82d6c98a3ed1ad571
Tests: Silence warnings from -Wsign-conversion.

Note that assigning an unsigned int to lzma_check doesn't warn
on GNU/Linux x86-64 since the enum type is unsigned on that
platform. The enum can be signed on some other platform though
so it's best to use enumeration type lzma_check in these situations.
tests/test_check.c
tests/test_stream_flags.c