From e0da28a1b2ff9112f4aee4cebd4b22fce1ae62ac Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 23 Jan 2015 16:21:07 -0800 Subject: Also use uint64_t in __new_sem_wait_fast --- nptl/sem_waitcommon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nptl') diff --git a/nptl/sem_waitcommon.c b/nptl/sem_waitcommon.c index c60daa3865..311e511195 100644 --- a/nptl/sem_waitcommon.c +++ b/nptl/sem_waitcommon.c @@ -228,7 +228,7 @@ __new_sem_wait_fast (struct new_sem *sem, int definitive_result) and the failure path of the CAS. If the weak CAS fails and we need a definitive result, retry. */ #if __HAVE_64B_ATOMICS - unsigned long d = atomic_load_relaxed (&sem->data); + uint64_t d = atomic_load_relaxed (&sem->data); do { if ((d & SEM_VALUE_MASK) == 0) -- cgit 1.4.1