summaryrefslogtreecommitdiffstats
path: root/programs/lz4cli.c
diff options
context:
space:
mode:
Diffstat (limited to 'programs/lz4cli.c')
-rw-r--r--programs/lz4cli.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/programs/lz4cli.c b/programs/lz4cli.c
index 934c2bb..1c4e9de 100644
--- a/programs/lz4cli.c
+++ b/programs/lz4cli.c
@@ -405,9 +405,8 @@ int main(int argc, char** argv)
case '7':
{
int B = argument[1] - '0';
- int S = 1 << (8 + 2*B);
- BMK_SetBlocksize(S);
blockSize = LZ4IO_setBlockSizeID(B);
+ BMK_SetBlocksize(blockSize);
argument++;
break;
}