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