mirror of
https://github.com/troglobit/libuev.git
synced 2026-10-19 10:49:31 +00:00
test: fix signed vs unsigned comparison
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
3c3b37c9aa
commit
270e270591
1 file changed
+1
-1
+1
-1
@@ -78,7 +78,7 @@ static void sig_cb(uev_t *w, void *cbarg, int events)
|
||||
break;
|
||||
|
||||
case SIGCHLD:
|
||||
if (arg->pid != w->siginfo.ssi_pid)
|
||||
if (arg->pid != (pid_t)w->siginfo.ssi_pid)
|
||||
err(1, "wrong child exited pid %d vs ssi_pid %d",
|
||||
arg->pid, w->siginfo.ssi_pid);
|
||||
|
||||
|
||||
Reference in new issue
Block a user