aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/common/alone_encoder.c
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2019-12-31 22:41:45 +0200
committerLasse Collin <lasse.collin@tukaani.org>2019-12-31 22:41:45 +0200
commit00517d125cc26ecece0eebb84c1c3975cd19bee0 (patch)
tree7594f2692ad92e8115ce91e6030032171161368c /src/liblzma/common/alone_encoder.c
parentRename read32ne to aligned_read32ne, and similarly for the others. (diff)
downloadxz-00517d125cc26ecece0eebb84c1c3975cd19bee0.tar.xz
Rename unaligned_read32ne to read32ne, and similarly for the others.
Diffstat (limited to 'src/liblzma/common/alone_encoder.c')
-rw-r--r--src/liblzma/common/alone_encoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liblzma/common/alone_encoder.c b/src/liblzma/common/alone_encoder.c
index c4560d58..96c1db70 100644
--- a/src/liblzma/common/alone_encoder.c
+++ b/src/liblzma/common/alone_encoder.c
@@ -121,7 +121,7 @@ alone_encoder_init(lzma_next_coder *next, const lzma_allocator *allocator,
if (d != UINT32_MAX)
++d;
- unaligned_write32le(coder->header + 1, d);
+ write32le(coder->header + 1, d);
// - Uncompressed size (always unknown and using EOPM)
memset(coder->header + 1 + 4, 0xFF, 8);