aboutsummaryrefslogtreecommitdiff
path: root/src/xz/coder.c
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2019-06-23 23:19:34 +0300
committerLasse Collin <lasse.collin@tukaani.org>2019-06-23 23:19:34 +0300
commit7883d73530b4b2a701ddd7d50c35676cbc158039 (patch)
treedea64895ae28278af681691c029f3e1c8c7cedd2 /src/xz/coder.c
parenttuklib_cpucores: Silence warnings from -Wsign-conversion. (diff)
downloadxz-7883d73530b4b2a701ddd7d50c35676cbc158039.tar.xz
xz: Fix some of the warnings from -Wsign-conversion.
Diffstat (limited to 'src/xz/coder.c')
-rw-r--r--src/xz/coder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xz/coder.c b/src/xz/coder.c
index f5e8e847..1cd03857 100644
--- a/src/xz/coder.c
+++ b/src/xz/coder.c
@@ -905,8 +905,8 @@ coder_run(const char *filename)
const bool is_passthru = init_ret
== CODER_INIT_PASSTHRU;
const uint64_t in_size
- = pair->src_st.st_size <= 0
- ? 0 : pair->src_st.st_size;
+ = pair->src_st.st_size <= 0
+ ? 0 : (uint64_t)(pair->src_st.st_size);
message_progress_start(&strm,
is_passthru, in_size);