aboutsummaryrefslogtreecommitdiff
path: root/tests/test_block_header.c
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2019-12-31 00:41:28 +0200
committerLasse Collin <lasse.collin@tukaani.org>2019-12-31 00:47:49 +0200
commit7136f1735c60ac6967c4b8e277fcde53d485234f (patch)
tree97cbabc12a7877ac133ee039257befa1d97fd26b /tests/test_block_header.c
parentRename read32ne to aligned_read32ne, and similarly for the others. (diff)
downloadxz-7136f1735c60ac6967c4b8e277fcde53d485234f.tar.xz
Rename unaligned_read32ne to read32ne, and similarly for the others.
Diffstat (limited to 'tests/test_block_header.c')
-rw-r--r--tests/test_block_header.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_block_header.c b/tests/test_block_header.c
index 7cd38985..373a8077 100644
--- a/tests/test_block_header.c
+++ b/tests/test_block_header.c
@@ -212,7 +212,7 @@ test3(void)
// Unsupported filter
// NOTE: This may need updating when new IDs become supported.
buf[2] ^= 0x1F;
- unaligned_write32le(buf + known_options.header_size - 4,
+ write32le(buf + known_options.header_size - 4,
lzma_crc32(buf, known_options.header_size - 4, 0));
expect(lzma_block_header_decode(&decoded_options, NULL, buf)
== LZMA_OPTIONS_ERROR);
@@ -220,7 +220,7 @@ test3(void)
// Non-nul Padding
buf[known_options.header_size - 4 - 1] ^= 1;
- unaligned_write32le(buf + known_options.header_size - 4,
+ write32le(buf + known_options.header_size - 4,
lzma_crc32(buf, known_options.header_size - 4, 0));
expect(lzma_block_header_decode(&decoded_options, NULL, buf)
== LZMA_OPTIONS_ERROR);