diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2020-02-21 16:10:44 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2020-03-11 12:05:57 +0200 |
commit | c2cc64d78c098834231f9cfd7d852c9cd8950d74 (patch) | |
tree | ef5c198b63425a539ce35ca097379c59ebea7dc6 /src/xz | |
parent | xz: Avoid unneeded access of a volatile variable. (diff) | |
download | xz-c2cc64d78c098834231f9cfd7d852c9cd8950d74.tar.xz |
xz: Silence a warning when sig_atomic_t is long int.
It can be true at least on z/OS.
Diffstat (limited to 'src/xz')
-rw-r--r-- | src/xz/signals.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |