aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/lz
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2015-03-07 22:01:00 +0200
committerLasse Collin <lasse.collin@tukaani.org>2015-03-07 22:01:00 +0200
commitf243f5f44c6b19a7c289a0ec73a03ee08364cb5b (patch)
treedd6636f6a8c6661e43e7640de8b74451114f540e /src/liblzma/lz
parentxz: Make arg_count an unsigned int to silence a warning. (diff)
downloadxz-f243f5f44c6b19a7c289a0ec73a03ee08364cb5b.tar.xz
liblzma: Silence more uint32_t vs. size_t warnings.
Diffstat (limited to 'src/liblzma/lz')
-rw-r--r--src/liblzma/lz/lz_encoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liblzma/lz/lz_encoder.c b/src/liblzma/lz/lz_encoder.c
index 01dfc06f..48bc487d 100644
--- a/src/liblzma/lz/lz_encoder.c
+++ b/src/liblzma/lz/lz_encoder.c
@@ -139,7 +139,7 @@ fill_window(lzma_coder *coder, const lzma_allocator *allocator,
&& coder->mf.read_pos < coder->mf.read_limit) {
// Match finder may update coder->pending and expects it to
// start from zero, so use a temporary variable.
- const size_t pending = coder->mf.pending;
+ const uint32_t pending = coder->mf.pending;
coder->mf.pending = 0;
// Rewind read_pos so that the match finder can hash