diff options
author | Roland McGrath <roland@hack.frob.com> | 2015-06-24 18:09:32 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2015-06-24 18:09:32 -0700 |
commit | 45a8f0e6629d7772b9fa1aef0389bc51a094424d (patch) | |
tree | efeeee00e22b3e4a5b1575840d0be30d8a909d27 | |
parent | e185d57e9933806ede21294acb2a3283a840b6c7 (diff) | |
download | glibc-45a8f0e6629d7772b9fa1aef0389bc51a094424d.tar.gz glibc-45a8f0e6629d7772b9fa1aef0389bc51a094424d.tar.xz glibc-45a8f0e6629d7772b9fa1aef0389bc51a094424d.zip |
NPTL: Use unsigned type for setxid_futex.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | nptl/descr.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index e2e2d2ec5a..f9cf634a44 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 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 counterp to 'volatile unsigned int *'. * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for diff --git a/nptl/descr.h b/nptl/descr.h index 5bd1282649..a502048b44 100644 --- a/nptl/descr.h +++ b/nptl/descr.h @@ -328,7 +328,7 @@ struct pthread int lock; /* Lock for synchronizing setxid calls. */ - int setxid_futex; + unsigned int setxid_futex; #if HP_TIMING_AVAIL /* Offset of the CPU clock at start thread start time. */ |