aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/lzma/lzma_encoder.c
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/lzma/lzma_encoder.c
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 '')
-rw-r--r--src/liblzma/lzma/lzma_encoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liblzma/lzma/lzma_encoder.c b/src/liblzma/lzma/lzma_encoder.c
index 31cb4f04..4c5f99c3 100644
--- a/src/liblzma/lzma/lzma_encoder.c
+++ b/src/liblzma/lzma/lzma_encoder.c
@@ -464,7 +464,7 @@ length_encoder_reset(lzma_length_encoder *lencoder,
bittree_reset(lencoder->high, LEN_HIGH_BITS);
if (!fast_mode)
- for (size_t pos_state = 0; pos_state < num_pos_states;
+ for (uint32_t pos_state = 0; pos_state < num_pos_states;
++pos_state)
length_update_prices(lencoder, pos_state);