]> granicus.if.org Git - xz/commitdiff
xz: Silence a warning from clang -Wsign-conversion in main.c.
authorLasse Collin <lasse.collin@tukaani.org>
Mon, 24 Jun 2019 19:57:43 +0000 (22:57 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Mon, 24 Jun 2019 19:57:43 +0000 (22:57 +0300)
src/xz/main.c

index d74caf3729f7954a65b8678c46a048f619e184a4..ca8a4680b688a6576dba8f76ee462c5b2774970b 100644 (file)
@@ -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);
 }