mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-23 23:46:16 +02:00
squashfs4: fix a compile error on big-endian systems (patch from #9842)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27851 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
921227360d
commit
7d2820a439
@ -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 New Issue
Block a user