summaryrefslogtreecommitdiffstats
path: root/liblzma/lzma/lzma_encoder.c
diff options
context:
space:
mode:
authorliblzma upstream <xz-devel@tukaani.org>2020-03-17 14:27:42 (GMT)
committerBrad King <brad.king@kitware.com>2021-04-22 19:39:31 (GMT)
commitee909a8e8b785b68c6a14fd52cc12b1841051a7d (patch)
treec2f9481b2b46ef33120fa295a2ffb7caf0c41c63 /liblzma/lzma/lzma_encoder.c
parent352b8fa70d18ff1664cd8b22f42cf980a976ae4d (diff)
downloadCMake-ee909a8e8b785b68c6a14fd52cc12b1841051a7d.zip
CMake-ee909a8e8b785b68c6a14fd52cc12b1841051a7d.tar.gz
CMake-ee909a8e8b785b68c6a14fd52cc12b1841051a7d.tar.bz2
liblzma 2020-03-17 (2327a461)
Code extracted from: https://git.tukaani.org/xz.git at commit 2327a461e1afce862c22269b80d3517801103c1b (v5.2.5).
Diffstat (limited to 'liblzma/lzma/lzma_encoder.c')
-rw-r--r--liblzma/lzma/lzma_encoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/liblzma/lzma/lzma_encoder.c b/liblzma/lzma/lzma_encoder.c
index ba9ce69..07d2b87 100644
--- a/liblzma/lzma/lzma_encoder.c
+++ b/liblzma/lzma/lzma_encoder.c
@@ -663,7 +663,7 @@ lzma_lzma_props_encode(const void *options, uint8_t *out)
if (lzma_lzma_lclppb_encode(opt, out))
return LZMA_PROG_ERROR;
- unaligned_write32le(out + 1, opt->dict_size);
+ write32le(out + 1, opt->dict_size);
return LZMA_OK;
}