Cleanup: cast pthread_self() return value to unsigned long
[userspace-rcu.git] / urcu / static / urcu-bp.h
index a2f73687d0a1995e5b3207b9f3fd3b970499d961..d2843b13ca3eb09962a2b20ae6b959b79adca7af 100644 (file)
@@ -93,7 +93,7 @@ static inline void debug_yield_write(void)
 
 static inline void debug_yield_init(void)
 {
-       URCU_TLS(rand_yield) = time(NULL) ^ pthread_self();
+       URCU_TLS(rand_yield) = time(NULL) ^ (unsigned long) pthread_self();
 }
 #else
 static inline void debug_yield_read(void)
This page took 0.021901 seconds and 4 git commands to generate.