]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
NPTL: Give cancelhandling fields type unsigned int. roland/cancelhandling
authorRoland McGrath <roland@hack.frob.com>
Wed, 24 Jun 2015 23:50:08 +0000 (16:50 -0700)
committerRoland McGrath <roland@hack.frob.com>
Thu, 25 Jun 2015 01:11:01 +0000 (18:11 -0700)
ChangeLog
nptl/descr.h

index f9cf634a44f1fdbaab345bd39b1905d4527d9515..291f758832a91db4c521107ee00280d1eb3e7f26 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-06-24  Roland McGrath  <roland@hack.frob.com>
+
+       * nptl/descr.h (struct pthread): Change type of fields cancelhandling
+       and parent_cancelhandling from 'int' to 'unsigned int'.
+
 2015-06-24  Roland McGrath  <roland@hack.frob.com>
 
        * nptl/descr.h (struct pthread): Change type of field setxid_futex
index a502048b44226e146abaef925a86d5c9ea64e388..7fe4b6c943aff3cd39163aeb093a25a44526e953 100644 (file)
@@ -256,7 +256,7 @@ struct pthread
 #define HAVE_CLEANUP_JMP_BUF
 
   /* Flags determining processing of cancellation.  */
-  int cancelhandling;
+  unsigned int cancelhandling;
   /* Bit set if cancellation is disabled.  */
 #define CANCELSTATE_BIT                0
 #define CANCELSTATE_BITMASK    (0x01 << CANCELSTATE_BIT)
@@ -322,7 +322,7 @@ struct pthread
 
   /* The parent's cancel handling at the time of the pthread_create
      call.  This might be needed to undo the effects of a cancellation.  */
-  int parent_cancelhandling;
+  unsigned int parent_cancelhandling;
 
   /* Lock to synchronize access to the descriptor.  */
   int lock;