mirror of https://git.tukaani.org/xz.git
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:
parent
b0a2a77d10
commit
7fe3ef2eaa
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue