aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_block_header.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_block_header.c b/tests/test_block_header.c
index b3101355..10f4af33 100644
--- a/tests/test_block_header.c
+++ b/tests/test_block_header.c
@@ -320,7 +320,7 @@ test_lzma_block_header_encode(void)
uint8_t flags = out[1];
// Should have number of filters = 1
- assert_uint_eq((flags & 0x3) + 1, 1);
+ assert_uint_eq((flags & 0x3) + 1U, 1);
// Bits 2-7 must be empty not set
assert_uint_eq(flags & (0xFF - 0x3), 0);