Browse Source

src/core/topology.c: fix variable type

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

+ 1 - 1
src/core/topology.c

@@ -1482,7 +1482,7 @@ _starpu_init_machine_config(struct _starpu_machine_config *config, int no_mp_con
 		if (ncpu == -1)
 		{
 			unsigned mic_busy_cpus = 0;
-			unsigned j = 0;
+			int j = 0;
 			for (j = 0; j < STARPU_MAXMICDEVS; j++)
 				mic_busy_cpus += (topology->nmiccores[j] ? 1 : 0);