Skip to content
Snippets Groups Projects
Commit f7a14fa5 authored by Danny Auble's avatar Danny Auble
Browse files

replace signed with unsigned counter to avoid warning when compiling with

c++
parent 501688ed
No related branches found
No related tags found
No related merge requests found
...@@ -232,7 +232,7 @@ slurmd_task_info_t * task_info_create(int taskid, int gtaskid, ...@@ -232,7 +232,7 @@ slurmd_task_info_t * task_info_create(int taskid, int gtaskid,
static inline slurmd_task_info_t * static inline slurmd_task_info_t *
job_task_info_by_pid (slurmd_job_t *job, pid_t pid) job_task_info_by_pid (slurmd_job_t *job, pid_t pid)
{ {
int i; uint32_t i;
for (i = 0; i < job->node_tasks; i++) { for (i = 0; i < job->node_tasks; i++) {
if (job->task[i]->pid == pid) if (job->task[i]->pid == pid)
return (job->task[i]); return (job->task[i]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment