aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2014-05-08 18:03:09 +0300
committerLasse Collin <lasse.collin@tukaani.org>2014-05-08 18:03:09 +0300
commited9ac85822c490e34b68c259afa0b385d21d1c40 (patch)
tree08b8f8cbb4d066dd61e6a0c0ba5ff28b030088db
parentDocs: Update comments to refer to lzma/lzma12.h in example programs. (diff)
downloadxz-ed9ac85822c490e34b68c259afa0b385d21d1c40.tar.xz
xz: Fix uint64_t vs. size_t which broke 32-bit build.
Thanks to Christian Hesse.
-rw-r--r--src/xz/coder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xz/coder.c b/src/xz/coder.c
index c7898688..027d7d2f 100644
--- a/src/xz/coder.c
+++ b/src/xz/coder.c
@@ -522,7 +522,7 @@ coder_init(file_pair *pair)
static void
split_block(uint64_t *block_remaining,
uint64_t *next_block_remaining,
- uint64_t *list_pos)
+ size_t *list_pos)
{
if (*next_block_remaining > 0) {
// The Block at *list_pos has previously been split up.