mirror of
https://git.tukaani.org/xz.git
synced 2025-02-17 14:08:12 +00:00
xz: parse_block_list: Edit integer type casting
(cherry picked from commit e89293a0baeb8663707c6b4a74fbb310ec698a8f)
This commit is contained in:
parent
40c8513b4e
commit
3c130737c9
@ -126,9 +126,8 @@ parse_block_list(const char *str_const)
|
||||
"filter chain number '%c:'"),
|
||||
str[0]);
|
||||
|
||||
int filter_num = str[0] - '0';
|
||||
opt_block_list[i].filters_index =
|
||||
(uint32_t)filter_num;
|
||||
const uint32_t filter_num = (uint32_t)(str[0] - '0');
|
||||
opt_block_list[i].filters_index = filter_num;
|
||||
str += 2;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user