mirror of
https://github.com/ckolivas/lrzip.git
synced 2025-12-06 07:12:00 +01:00
Fix ISO C warning in lrzip.c
This commit is contained in:
parent
2e3eed5d77
commit
e3598a7b96
4
stream.c
4
stream.c
|
|
@ -304,7 +304,9 @@ static int lzma_compress_buf(rzip_control *control, struct compress_thread *cthr
|
|||
return 0;
|
||||
|
||||
/* only 7 levels with lzma, scale them */
|
||||
lzma_level = control->compression_level * 7 / 9 ? : 1;
|
||||
lzma_level = control->compression_level * 7 / 9;
|
||||
if (!lzma_level)
|
||||
lzma_level = 1;
|
||||
|
||||
print_maxverbose("Starting lzma back end compression thread...\n");
|
||||
retry:
|
||||
|
|
|
|||
Loading…
Reference in a new issue