[Glibc-bsd-commits] r5822 - trunk/glibc-ports/kfreebsd/fbtl

aurel32 at alioth.debian.org aurel32 at alioth.debian.org
Sun Oct 25 18:14:49 UTC 2015


Author: aurel32
Date: 2015-10-25 18:14:49 +0000 (Sun, 25 Oct 2015)
New Revision: 5822

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


Modified: trunk/glibc-ports/kfreebsd/fbtl/gai_misc.h
===================================================================
--- trunk/glibc-ports/kfreebsd/fbtl/gai_misc.h	2015-10-25 18:10:07 UTC (rev 5821)
+++ trunk/glibc-ports/kfreebsd/fbtl/gai_misc.h	2015-10-25 18:14:49 UTC (rev 5822)
@@ -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)
 
 #warning have to check sign of return values from futex wait calls
@@ -51,8 +51,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