squashfs4: fix a compile error on big-endian systems (patch from #9842)
SVN-Revision: 27851
This commit is contained in:
parent
de23984834
commit
fa9521ad91
1 changed files with 1 additions and 1 deletions
|
@ -417,7 +417,7 @@
|
||||||
+ if (size != sizeof(struct lzma_opts))
|
+ if (size != sizeof(struct lzma_opts))
|
||||||
+ goto failed;
|
+ goto failed;
|
||||||
+
|
+
|
||||||
+ SQUASHFS_INSWAP_LZMA_COMP_OPTS(&comp_opts);
|
+ SQUASHFS_INSWAP_LZMA_COMP_OPTS(comp_opts);
|
||||||
+
|
+
|
||||||
+ options.flags = comp_opts->flags & LZMA_OPT_FLT_MASK;
|
+ options.flags = comp_opts->flags & LZMA_OPT_FLT_MASK;
|
||||||
+ options.preset = (comp_opts->flags & LZMA_OPT_PRE_MASK) >> LZMA_OPT_PRE_OFF;
|
+ options.preset = (comp_opts->flags & LZMA_OPT_PRE_MASK) >> LZMA_OPT_PRE_OFF;
|
||||||
|
|
Loading…
Reference in a new issue