[Glibc-bsd-commits] r5823 - trunk/glibc-ports/fbtl/sysdeps/pthread

aurel32 at alioth.debian.org aurel32 at alioth.debian.org
Sun Oct 25 22:22:52 UTC 2015


Author: aurel32
Date: 2015-10-25 22:22:52 +0000 (Sun, 25 Oct 2015)
New Revision: 5823

Modified:
   trunk/glibc-ports/fbtl/sysdeps/pthread/gai_misc.h
Log:
Kill more warnings


Modified: trunk/glibc-ports/fbtl/sysdeps/pthread/gai_misc.h
===================================================================
--- trunk/glibc-ports/fbtl/sysdeps/pthread/gai_misc.h	2015-10-25 18:14:49 UTC (rev 5822)
+++ trunk/glibc-ports/fbtl/sysdeps/pthread/gai_misc.h	2015-10-25 22:22:52 UTC (rev 5823)
@@ -30,7 +30,7 @@
 #define GAI_MISC_NOTIFY(waitlist) \
   do {									      \
     if (*waitlist->counterp > 0 && --*waitlist->counterp == 0)		      \
-      lll_futex_wake (waitlist->counterp, 1, LLL_PRIVATE);		      \
+      lll_futex_wake ((unsigned int *) waitlist->counterp, 1, LLL_PRIVATE);   \
   } while (0)
 
 #define GAI_MISC_WAIT(result, futex, timeout, cancel) \
@@ -49,8 +49,8 @@
 	int status;							      \
 	do								      \
 	  {								      \
-	    status = lll_futex_timed_wait (futexaddr, oldval, timeout,	      \
-					   LLL_PRIVATE);		      \
+	    status = lll_futex_timed_wait ((unsigned int *) futexaddr, oldval,\
+					   timeout, LLL_PRIVATE);	      \
 	    if (status != EWOULDBLOCK)					      \
 	      break;							      \
 									      \




More information about the Glibc-bsd-commits mailing list