Browse Source

src/core/sched_ctx.c: fix variable type

Nathalie Furmento 8 years ago
parent
commit
d1de86e9d9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/core/sched_ctx.c

+ 1 - 1
src/core/sched_ctx.c

@@ -1236,7 +1236,7 @@ void starpu_sched_ctx_add_workers(int *workers_to_add, unsigned nworkers_to_add,
 		unsigned i;
 		for (i=0; i<nworkers_to_add; i++)
 		{
-			unsigned workerid = workers_to_add[i];
+			int workerid = workers_to_add[i];
 			unsigned duplicate = 0;
 			unsigned j;
 			for (j = 0; j < cumulated_nworkers; j++)