1
0
Fork 0
mirror of https://git.tukaani.org/xz.git synced 2024-04-04 12:36:23 +02:00

xz: Silence a warning when sig_atomic_t is long int.

It can be true at least on z/OS.
This commit is contained in:
Lasse Collin 2020-02-21 16:10:44 +02:00
parent b6314aa275
commit c2cc64d78c

View file

@ -152,7 +152,7 @@ signals_unblock(void)
extern void extern void
signals_exit(void) signals_exit(void)
{ {
const int sig = exit_signal; const int sig = (int)exit_signal;
if (sig != 0) { if (sig != 0) {
#if defined(TUKLIB_DOSLIKE) || defined(__VMS) #if defined(TUKLIB_DOSLIKE) || defined(__VMS)