mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 10:51:54 -04:00
Explicitly cast sig_atomic_t child_pid to pid_t for kill()
This commit is contained in:
parent
64271ac429
commit
21ca93f8c1
1 changed files with 1 additions and 1 deletions
|
|
@ -362,7 +362,7 @@ static volatile sig_atomic_t child_pid = 0;
|
|||
static void forward_signal(int sig)
|
||||
{
|
||||
if (child_pid > 0) {
|
||||
kill(child_pid, sig);
|
||||
kill((pid_t)child_pid, sig);
|
||||
}
|
||||
}
|
||||
/* LCOV_EXCL_STOP */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue