forked from external/yambar
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
Reference in a new issue