summary refs log tree commit diff
path: root/nptl/tst-attr2.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-04-11 22:59:18 +0000
committerUlrich Drepper <drepper@redhat.com>2003-04-11 22:59:18 +0000
commit6fed7a0f214ce6a559e177689441681aa76867b4 (patch)
tree3a1f36dff9edbca74e9b101acee7f1d76d50f66f /nptl/tst-attr2.c
parent9fb0cae85c1266abff645b831b7070113c89d0aa (diff)
downloadglibc-6fed7a0f214ce6a559e177689441681aa76867b4.tar.gz
glibc-6fed7a0f214ce6a559e177689441681aa76867b4.tar.xz
glibc-6fed7a0f214ce6a559e177689441681aa76867b4.zip
(do_test): Add cast to avoid warning.
Diffstat (limited to 'nptl/tst-attr2.c')
-rw-r--r--nptl/tst-attr2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/tst-attr2.c b/nptl/tst-attr2.c
index b5c1a5f961..a60598dd7e 100644
--- a/nptl/tst-attr2.c
+++ b/nptl/tst-attr2.c
@@ -91,7 +91,7 @@ default detach state wrong: %d, expected %d (PTHREAD_CREATE_JOINABLE)\n",
       puts ("1st attr_getguardsize failed");
       exit (1);
     }
-  if (g != sysconf (_SC_PAGESIZE))
+  if (g != (size_t) sysconf (_SC_PAGESIZE))
     {
       printf ("default guardsize %zu, expected %ld (PAGESIZE)\n",
 	      g, sysconf (_SC_PAGESIZE));