diff --git a/include/haproxy/thread-t.h b/include/haproxy/thread-t.h index bac83aedb..e82736164 100644 --- a/include/haproxy/thread-t.h +++ b/include/haproxy/thread-t.h @@ -95,8 +95,8 @@ /*** Common parts below ***/ /* storage types used by spinlocks and RW locks */ -#define __HA_SPINLOCK_T unsigned int -#define __HA_RWLOCK_T unsigned int +#define __HA_SPINLOCK_T unsigned long +#define __HA_RWLOCK_T unsigned long /* When thread debugging is enabled, we remap HA_SPINLOCK_T and HA_RWLOCK_T to