From 45a8f0e6629d7772b9fa1aef0389bc51a094424d Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 24 Jun 2015 18:09:32 -0700 Subject: NPTL: Use unsigned type for setxid_futex. --- ChangeLog | 3 +++ nptl/descr.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e2e2d2ec5a..f9cf634a44 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2015-06-24 Roland McGrath + * 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. */ -- cgit 1.4.1