Skip to content

Commit

Permalink
mxqd_control: Explicitly convert pid_t to unsigned
Browse files Browse the repository at this point in the history
donald committed May 5, 2022
1 parent 98e4d2c commit 5e3cc57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mxqd_control.c
Original file line number Diff line number Diff line change
@@ -206,7 +206,7 @@ struct mxq_job_list *server_get_job_list_by_pid(struct mxq_server *server, pid_t
for (glist = ulist->groups; glist; glist = glist->next) {
for (jlist = glist->jobs; jlist; jlist = jlist->next) {
job = &jlist->job;
if (job->host_pid == pid)
if (job->host_pid == (unsigned)pid)
return jlist;
}
}

0 comments on commit 5e3cc57

Please sign in to comment.