From c2cc64d78c098834231f9cfd7d852c9cd8950d74 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Fri, 21 Feb 2020 16:10:44 +0200 Subject: [PATCH] xz: Silence a warning when sig_atomic_t is long int. It can be true at least on z/OS. --- src/xz/signals.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xz/signals.c b/src/xz/signals.c index 7daeddca..7aef463c 100644 --- a/src/xz/signals.c +++ b/src/xz/signals.c @@ -152,7 +152,7 @@ signals_unblock(void) extern void signals_exit(void) { - const int sig = exit_signal; + const int sig = (int)exit_signal; if (sig != 0) { #if defined(TUKLIB_DOSLIKE) || defined(__VMS)