projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
api.h: fix type warning
[urcu.git]
/
tests
/
api_x86.h
diff --git
a/tests/api_x86.h
b/tests/api_x86.h
index c774c322e3109a67c6fdb59ccd66c3bcbaa22c99..527221c55eda3efab0239353de8e9d9a5efd92e5 100644
(file)
--- 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 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;
thread_id_t __thread_id_map[NR_THREADS];
spinlock_t __thread_id_map_mutex;
This page took
0.02275 seconds
and
4
git commands to generate.