Cleanup: cast pthread_self() return value to unsigned long
[urcu.git] / urcu / static / urcu-bp.h
index 6187bd31b5325fb292057e95f7236285cb846019..c52a68870dbadfb9c45ca2e688a5e45d39d25f3c 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.022715 seconds and 4 git commands to generate.