diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-15 09:41:34 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-15 09:41:34 +0000 |
commit | cf178685aca107aa37c748de11da01562e78c46c (patch) | |
tree | 84d60b39c1744edcbdd4dbfc5026583914432dba /tests/test_block_header.c | |
parent | Adding upstream version 5.6.1+really5.4.5. (diff) | |
download | xz-utils-upstream.tar.xz xz-utils-upstream.zip |
Adding upstream version 5.6.2.upstream/5.6.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/test_block_header.c')
-rw-r--r-- | tests/test_block_header.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/test_block_header.c b/tests/test_block_header.c index b310135..d8e6221 100644 --- a/tests/test_block_header.c +++ b/tests/test_block_header.c @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: 0BSD + /////////////////////////////////////////////////////////////////////////////// // /// \file test_block_header.c @@ -6,9 +8,6 @@ // Authors: Lasse Collin // Jia Tan // -// This file has been put into the public domain. -// You can do whatever you want with this file. -// /////////////////////////////////////////////////////////////////////////////// #include "tests.h" @@ -320,7 +319,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); |