summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-07-31 17:59:31 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-07-31 17:59:31 +0000
commit7d2820a43964e4416c5ce1d6d38ea95248a9e93c (patch)
tree6fee3cffa19b027a9bdc30a1975aceba01188f5d
parent921227360df9cd1d3500043bc7277426a0c51487 (diff)
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
-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 61f5e6c37..d6063969d 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;