diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2019-12-31 22:41:45 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2019-12-31 22:41:45 +0200 |
commit | 00517d125cc26ecece0eebb84c1c3975cd19bee0 (patch) | |
tree | 7594f2692ad92e8115ce91e6030032171161368c /src/liblzma/common/block_header_encoder.c | |
parent | Rename read32ne to aligned_read32ne, and similarly for the others. (diff) | |
download | xz-00517d125cc26ecece0eebb84c1c3975cd19bee0.tar.xz |
Rename unaligned_read32ne to read32ne, and similarly for the others.
Diffstat (limited to 'src/liblzma/common/block_header_encoder.c')
-rw-r--r-- | src/liblzma/common/block_header_encoder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liblzma/common/block_header_encoder.c b/src/liblzma/common/block_header_encoder.c index 5c5f5424..160425d2 100644 --- a/src/liblzma/common/block_header_encoder.c +++ b/src/liblzma/common/block_header_encoder.c @@ -126,7 +126,7 @@ lzma_block_header_encode(const lzma_block *block, uint8_t *out) memzero(out + out_pos, out_size - out_pos); // CRC32 - unaligned_write32le(out + out_size, lzma_crc32(out, out_size, 0)); + write32le(out + out_size, lzma_crc32(out, out_size, 0)); return LZMA_OK; } |