NPTL: Use unsigned type for setxid_futex.

This commit is contained in:
Roland McGrath 2015-06-24 18:09:32 -07:00
parent e185d57e99
commit 45a8f0e662
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2015-06-24 Roland McGrath <roland@hack.frob.com> 2015-06-24 Roland McGrath <roland@hack.frob.com>
* nptl/descr.h (struct pthread): Change type of field setxid_futex
to 'unsigned int'.
* resolv/gai_misc.h (struct waitlist): Change type of field * resolv/gai_misc.h (struct waitlist): Change type of field
counterp to 'volatile unsigned int *'. counterp to 'volatile unsigned int *'.
* sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for

View File

@ -328,7 +328,7 @@ struct pthread
int lock; int lock;
/* Lock for synchronizing setxid calls. */ /* Lock for synchronizing setxid calls. */
int setxid_futex; unsigned int setxid_futex;
#if HP_TIMING_AVAIL #if HP_TIMING_AVAIL
/* Offset of the CPU clock at start thread start time. */ /* Offset of the CPU clock at start thread start time. */