X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Fapi_x86.h;h=527221c55eda3efab0239353de8e9d9a5efd92e5;hb=c53c46050222b5a36410ff23807ebf714bdfc380;hp=c774c322e3109a67c6fdb59ccd66c3bcbaa22c99;hpb=16aa9ee87cf4364921c36025359be01390338d87;p=urcu.git 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;