about summary refs log tree commit diff
path: root/nptl/tst-rwlock6.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/tst-rwlock6.c')
-rw-r--r--nptl/tst-rwlock6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/tst-rwlock6.c b/nptl/tst-rwlock6.c
index 86cd10b5ee..eb14c0f778 100644
--- a/nptl/tst-rwlock6.c
+++ b/nptl/tst-rwlock6.c
@@ -107,7 +107,7 @@ tf (void *arg)
 static int
 do_test (void)
 {
-  int cnt;
+  size_t cnt;
   for (cnt = 0; cnt < sizeof (kind) / sizeof (kind[0]); ++cnt)
     {
       pthread_rwlock_t r;