mirror of https://git.tukaani.org/xz.git
xz: parse_block_list: Edit integer type casting
This commit is contained in:
parent
87011e40c1
commit
e89293a0ba
|
@ -126,9 +126,8 @@ parse_block_list(const char *str_const)
|
||||||
"filter chain number '%c:'"),
|
"filter chain number '%c:'"),
|
||||||
str[0]);
|
str[0]);
|
||||||
|
|
||||||
int filter_num = str[0] - '0';
|
const uint32_t filter_num = (uint32_t)(str[0] - '0');
|
||||||
opt_block_list[i].filters_index =
|
opt_block_list[i].filters_index = filter_num;
|
||||||
(uint32_t)filter_num;
|
|
||||||
str += 2;
|
str += 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue