We never use negative values.
---
 sysdeps/htl/bits/types/struct___pthread_rwlock.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sysdeps/htl/bits/types/struct___pthread_rwlock.h 
b/sysdeps/htl/bits/types/struct___pthread_rwlock.h
index aab74c97ad..e2a6e09c8a 100644
--- a/sysdeps/htl/bits/types/struct___pthread_rwlock.h
+++ b/sysdeps/htl/bits/types/struct___pthread_rwlock.h
@@ -30,7 +30,7 @@ struct __pthread_rwlock
 {
   __pthread_spinlock_t __held;
   __pthread_spinlock_t __lock;
-  int __readers;
+  unsigned int __readers;
   struct __pthread *__readerqueue;
   struct __pthread *__writerqueue;
   struct __pthread_rwlockattr *__attr;
-- 
2.53.0


Reply via email to