Cleanup: cast pthread_self() return value to unsigned long
[urcu.git] / urcu / static / urcu-qsbr.h
index 8b16a4abc4586783fd5a267126e43063050f58f6..c8a87b8d777a7ce0bcae127a5d1bd1545bfee561 100644 (file)
@@ -93,7 +93,7 @@ static inline void rcu_debug_yield_write(void)
 
 static inline void rcu_debug_yield_init(void)
 {
-       URCU_TLS(rcu_rand_yield) = time(NULL) ^ pthread_self();
+       URCU_TLS(rcu_rand_yield) = time(NULL) ^ (unsigned long) pthread_self();
 }
 #else
 static inline void rcu_debug_yield_read(void)
This page took 0.022527 seconds and 4 git commands to generate.