mirror of https://git.tukaani.org/xz.git
xz: Fix uint64_t vs. size_t which broke 32-bit build.
Thanks to Christian Hesse.
This commit is contained in:
parent
d716acdae3
commit
ed9ac85822
|
@ -522,7 +522,7 @@ coder_init(file_pair *pair)
|
||||||
static void
|
static void
|
||||||
split_block(uint64_t *block_remaining,
|
split_block(uint64_t *block_remaining,
|
||||||
uint64_t *next_block_remaining,
|
uint64_t *next_block_remaining,
|
||||||
uint64_t *list_pos)
|
size_t *list_pos)
|
||||||
{
|
{
|
||||||
if (*next_block_remaining > 0) {
|
if (*next_block_remaining > 0) {
|
||||||
// The Block at *list_pos has previously been split up.
|
// The Block at *list_pos has previously been split up.
|
||||||
|
|
Loading…
Reference in New Issue