mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-06-16 08:15:40 +02:00
main: cast sig_atomic_t to long, to fix the printf portability
This commit is contained in:
parent
6a9f66b837
commit
bfff39b7c9
1 changed files with 1 additions and 1 deletions
2
main.c
2
main.c
|
@ -374,7 +374,7 @@ main(int argc, char *const *argv)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (aborted)
|
if (aborted)
|
||||||
LOG_INFO("aborted: %s (%d)", strsignal(aborted), aborted);
|
LOG_INFO("aborted: %s (%ld)", strsignal(aborted), (long)aborted);
|
||||||
|
|
||||||
done:
|
done:
|
||||||
/* Signal abort to other threads */
|
/* Signal abort to other threads */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue