diff options
Diffstat (limited to 'lib/sqfs/comp')
-rw-r--r-- | lib/sqfs/comp/xz.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqfs/comp/xz.c b/lib/sqfs/comp/xz.c index 9e03df8..fd0f70b 100644 --- a/lib/sqfs/comp/xz.c +++ b/lib/sqfs/comp/xz.c @@ -152,7 +152,7 @@ static sqfs_s32 xz_comp_block(sqfs_compressor_t *base, const sqfs_u8 *in, smallest = ret; - for (i = 0; i & SQFS_COMP_FLAG_XZ_ALL; i <<= 1) { + for (i = 1; i & SQFS_COMP_FLAG_XZ_ALL; i <<= 1) { if ((xz->flags & i) == 0) continue; |