diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2020-02-21 16:10:44 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2020-02-21 16:10:44 +0200 |
commit | 7fe3ef2eaa53d439cec043727ea1998f4ff0e22a (patch) | |
tree | ad3f2605c84ece713f04ca17f8daac57c8a74356 /src/xz | |
parent | xz: Avoid unneeded access of a volatile variable. (diff) | |
download | xz-7fe3ef2eaa53d439cec043727ea1998f4ff0e22a.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) |