Futex: turn "int" into "int32_t" for portability
[urcu.git] / urcu-defer-impl.h
index f8dfa4c87f5155ac0bc73f9ac22a105cb7c7f1fc..d9c1c3a37cbe4fadce55ac08ad9edf562d8323e6 100644 (file)
@@ -40,6 +40,7 @@
 #include <sys/time.h>
 #include <syscall.h>
 #include <unistd.h>
+#include <stdint.h>
 
 #include "urcu/futex.h"
 
@@ -121,7 +122,7 @@ extern void synchronize_rcu(void);
 static pthread_mutex_t rcu_defer_mutex = PTHREAD_MUTEX_INITIALIZER;
 static pthread_mutex_t defer_thread_mutex = PTHREAD_MUTEX_INITIALIZER;
 
-static int defer_thread_futex;
+static int32_t defer_thread_futex;
 
 /*
  * Written to only by each individual deferer. Read by both the deferer and
This page took 0.022436 seconds and 4 git commands to generate.