소스 검색

squashfs4: fix a compile error on big-endian systems (patch from #9842)

SVN-Revision: 27851
Felix Fietkau 14 년 전
부모
커밋
fa9521ad91
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      tools/squashfs4/patches/160-expose_lzma_xz_options.patch

+ 1 - 1
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;