summaryrefslogtreecommitdiffstats
path: root/tests/test_block_header.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/test_block_header.c7
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);