summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-07-31 17:59:31 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-07-31 17:59:31 +0000
commitfa9521ad91bd1e927ccee6478a00bdd6c68c0367 (patch)
tree1020833105b800e6ffe84195b40a1d3d545ec8e0 /tools
parentde2398483470efd28ba8ef7f2389636bf6db3f53 (diff)
downloadmtk-20170518-fa9521ad91bd1e927ccee6478a00bdd6c68c0367.zip
mtk-20170518-fa9521ad91bd1e927ccee6478a00bdd6c68c0367.tar.gz
mtk-20170518-fa9521ad91bd1e927ccee6478a00bdd6c68c0367.tar.bz2
squashfs4: fix a compile error on big-endian systems (patch from #9842)
SVN-Revision: 27851
Diffstat (limited to 'tools')
-rw-r--r--tools/squashfs4/patches/160-expose_lzma_xz_options.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/squashfs4/patches/160-expose_lzma_xz_options.patch b/tools/squashfs4/patches/160-expose_lzma_xz_options.patch
index 61f5e6c..d606396 100644
--- a/tools/squashfs4/patches/160-expose_lzma_xz_options.patch
+++ b/tools/squashfs4/patches/160-expose_lzma_xz_options.patch
@@ -417,7 +417,7 @@
+ if (size != sizeof(struct lzma_opts))
+ 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.preset = (comp_opts->flags & LZMA_OPT_PRE_MASK) >> LZMA_OPT_PRE_OFF;