aboutsummaryrefslogtreecommitdiff
path: root/src/xz/signals.c
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2020-02-21 16:10:44 +0200
committerLasse Collin <lasse.collin@tukaani.org>2020-02-21 16:10:44 +0200
commit7fe3ef2eaa53d439cec043727ea1998f4ff0e22a (patch)
treead3f2605c84ece713f04ca17f8daac57c8a74356 /src/xz/signals.c
parentxz: Avoid unneeded access of a volatile variable. (diff)
downloadxz-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/signals.c')
-rw-r--r--src/xz/signals.c2
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)