aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/simple/simple_decoder.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/simple/simple_decoder.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 '')
-rw-r--r--src/liblzma/simple/simple_decoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liblzma/simple/simple_decoder.c b/src/liblzma/simple/simple_decoder.c
index 1d864f2b..dc4d2415 100644
--- a/src/liblzma/simple/simple_decoder.c
+++ b/src/liblzma/simple/simple_decoder.c
@@ -28,7 +28,7 @@ lzma_simple_props_decode(void **options, const lzma_allocator *allocator,
if (opt == NULL)
return LZMA_MEM_ERROR;
- opt->start_offset = unaligned_read32le(props);
+ opt->start_offset = read32le(props);
// Don't leave an options structure allocated if start_offset is zero.
if (opt->start_offset == 0)