Skip to content
Snippets Groups Projects
Commit 469ecdf8 authored by Moe Jette's avatar Moe Jette
Browse files

Clean-up some sloppy type casting to eliminate build warnings.

parent 46fa98d0
No related branches found
No related tags found
No related merge requests found
...@@ -62,11 +62,11 @@ typedef struct allocation_info { ...@@ -62,11 +62,11 @@ typedef struct allocation_info {
uint32_t jobid; uint32_t jobid;
uint32_t stepid; uint32_t stepid;
char *nodelist; char *nodelist;
int nnodes; uint32_t nnodes;
slurm_addr *addrs; slurm_addr *addrs;
int num_cpu_groups; uint16_t num_cpu_groups;
int *cpus_per_node; uint32_t *cpus_per_node;
int *cpu_count_reps; uint32_t *cpu_count_reps;
select_jobinfo_t select_jobinfo; select_jobinfo_t select_jobinfo;
} allocation_info_t; } allocation_info_t;
...@@ -104,7 +104,7 @@ job_create_noalloc(void) ...@@ -104,7 +104,7 @@ job_create_noalloc(void)
{ {
srun_job_t *job = NULL; srun_job_t *job = NULL;
allocation_info_t *ai = xmalloc(sizeof(*ai)); allocation_info_t *ai = xmalloc(sizeof(*ai));
int cpn = 1; uint32_t cpn = 1;
int i = 0; int i = 0;
hostlist_t hl = hostlist_create(opt.nodelist); hostlist_t hl = hostlist_create(opt.nodelist);
......
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