aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2019-06-24 22:57:43 +0300
committerLasse Collin <lasse.collin@tukaani.org>2019-12-31 22:25:42 +0200
commit267afcd9955e668c1532b069230c21c348eb4f82 (patch)
tree1240f95f25b1ce37f8c4dea6700e0f073ac960f9
parentliblzma: Remove incorrect uses of lzma_attribute((__unused__)). (diff)
downloadxz-267afcd9955e668c1532b069230c21c348eb4f82.tar.xz
xz: Silence a warning from clang -Wsign-conversion in main.c.
-rw-r--r--src/xz/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xz/main.c b/src/xz/main.c
index d74caf37..ca8a4680 100644
--- a/src/xz/main.c
+++ b/src/xz/main.c
@@ -326,5 +326,5 @@ main(int argc, char **argv)
if (es == E_WARNING && no_warn)
es = E_SUCCESS;
- tuklib_exit(es, E_ERROR, message_verbosity_get() != V_SILENT);
+ tuklib_exit((int)es, E_ERROR, message_verbosity_get() != V_SILENT);
}