aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/simple/simple_encoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/liblzma/simple/simple_encoder.c')
-rw-r--r--src/liblzma/simple/simple_encoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liblzma/simple/simple_encoder.c b/src/liblzma/simple/simple_encoder.c
index 1ceabd1f..8aa463be 100644
--- a/src/liblzma/simple/simple_encoder.c
+++ b/src/liblzma/simple/simple_encoder.c
@@ -32,7 +32,7 @@ lzma_simple_props_encode(const void *options, uint8_t *out)
if (opt == NULL || opt->start_offset == 0)
return LZMA_OK;
- integer_write_32(out, opt->start_offset);
+ unaligned_write32le(out, opt->start_offset);
return LZMA_OK;
}