aboutsummaryrefslogtreecommitdiff
path: root/nptl/tst-mutex4.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-mutex4.c
parent9fb0cae85c1266abff645b831b7070113c89d0aa (diff)
downloadglibc-6fed7a0f214ce6a559e177689441681aa76867b4.zip
glibc-6fed7a0f214ce6a559e177689441681aa76867b4.tar.gz
glibc-6fed7a0f214ce6a559e177689441681aa76867b4.tar.bz2
(do_test): Add cast to avoid warning.
Diffstat (limited to 'nptl/tst-mutex4.c')
-rw-r--r--nptl/tst-mutex4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/tst-mutex4.c b/nptl/tst-mutex4.c
index 89995b1..9caed44 100644
--- a/nptl/tst-mutex4.c
+++ b/nptl/tst-mutex4.c
@@ -64,7 +64,7 @@ do_test (void)
memset (data, '\0', ps);
/* Write the data to the file. */
- if (write (fd, data, ps) != ps)
+ if (write (fd, data, ps) != (ssize_t) ps)
{
puts ("short write");
return 1;