From c48b24fc06d98569adb72f13c2e8e5ff30bb8036 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Fri, 6 Jan 2023 17:17:37 +0200 Subject: Tests: test_index_hash: Use INDEX_INDICATOR constant instead of 0. --- tests/test_index_hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/test_index_hash.c b/tests/test_index_hash.c index a3c021b9..bc0cef50 100644 --- a/tests/test_index_hash.c +++ b/tests/test_index_hash.c @@ -111,7 +111,7 @@ generate_index(uint8_t *index, const lzma_vli *unpadded_sizes, size_t in_pos = 0; size_t out_pos = 0; // First set index indicator - index[out_pos++] = 0; + index[out_pos++] = INDEX_INDICATOR; // Next write out Number of Records assert_lzma_ret(lzma_vli_encode(block_count, &in_pos, index, -- cgit v1.2.3