From 7fe3ef2eaa53d439cec043727ea1998f4ff0e22a Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Fri, 21 Feb 2020 16:10:44 +0200 Subject: 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(-) (limited to 'src/xz') 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) -- cgit v1.2.3