From: Felix Fietkau Date: Sun, 31 Jul 2011 17:59:31 +0000 (+0000) Subject: squashfs4: fix a compile error on big-endian systems (patch from #9842) X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;hb=e44141513867a84f956dbdc3d6c2e4cd7f4499ac squashfs4: fix a compile error on big-endian systems (patch from #9842) SVN-Revision: 27851 --- diff --git a/tools/squashfs4/patches/160-expose_lzma_xz_options.patch b/tools/squashfs4/patches/160-expose_lzma_xz_options.patch index 61f5e6c37d..d6063969d2 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;