Browse Source

src/core/workers.h: fix type for devid

Nathalie Furmento 13 years ago
parent
commit
944813c7c5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/core/workers.h

+ 1 - 1
src/core/workers.h

@@ -61,7 +61,7 @@ struct _starpu_worker
 	uint32_t worker_mask; /* what is the type of worker ? */
 	enum starpu_perf_archtype perf_arch; /* in case there are different models of the same arch */
 	pthread_t worker_thread; /* the thread which runs the worker */
-	int devid; /* which cpu/gpu/etc is controlled by the workker ? */
+	unsigned devid; /* which cpu/gpu/etc is controlled by the worker ? */
 	int bindid; /* which cpu is the driver bound to ? (logical index) */
 	int workerid; /* uniquely identify the worker among all processing units types */
 	int combined_workerid; /* combined worker currently using this worker */