From 05b49d3dba7b64cca5591be6b74e21b23b5fceb7 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Wed, 29 Jun 2011 14:35:08 -0400 Subject: [PATCH] api.h: fix type warning Signed-off-by: Mathieu Desnoyers --- tests/api_x86.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/api_x86.h b/tests/api_x86.h index c774c32..527221c 100644 --- a/tests/api_x86.h +++ b/tests/api_x86.h @@ -404,8 +404,8 @@ typedef pthread_t thread_id_t; #define NR_THREADS 128 -#define __THREAD_ID_MAP_EMPTY 0 -#define __THREAD_ID_MAP_WAITING 1 +#define __THREAD_ID_MAP_EMPTY ((thread_id_t) 0) +#define __THREAD_ID_MAP_WAITING ((thread_id_t) 1) thread_id_t __thread_id_map[NR_THREADS]; spinlock_t __thread_id_map_mutex; -- 2.34.1