Add cast to avoid warning.
authordrepper <drepper>
Sun, 24 Sep 2006 17:10:55 +0000 (17:10 +0000)
committerdrepper <drepper>
Sun, 24 Sep 2006 17:10:55 +0000 (17:10 +0000)
nptl/descr.h

index b9b9ed7..321ce85 100644 (file)
@@ -201,7 +201,7 @@ struct pthread
     mutex->__data.__list.__next                                                      \
       = THREAD_GETMEM (THREAD_SELF, robust_list.__next);                     \
     THREAD_SETMEM (THREAD_SELF, robust_list.__next,                          \
-                  ((uintptr_t) &mutex->__data.__list) | val);                \
+                  (void *) (((uintptr_t) &mutex->__data.__list) | val));     \
   } while (0)
 # define DEQUEUE_MUTEX(mutex) \
   do {                                                                       \