summaryrefslogtreecommitdiff
path: root/nptl/tst-rwlock4.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-04-08 18:23:59 +0000
committerUlrich Drepper <drepper@redhat.com>2003-04-08 18:23:59 +0000
commitf9657e88fabd682d176d1205a8a03677228eaab3 (patch)
tree230ff2993235bf5da46b4f60079ec76f0092475c /nptl/tst-rwlock4.c
parentcb4d04cd6133e8fe7af1bd7d193683e9d93189b4 (diff)
Update.
2003-04-08 Ulrich Drepper <drepper@redhat.com> * tst-barrier2.c: Eliminate warnings. * tst-cancel4.c: Likewise. * tst-cond4.c: Likewise. * tst-cond6.c: Likewise. * tst-detach1.c: Likewise. * tst-rwlock4.c: Likewise. * tst-rwlock6.c: Likewise. * tst-rwlock7.c: Likewise. * tst-sem3.c: Likewise. * tst-spin2.c: Likewise. * tst-umask1.c: Likewise.
Diffstat (limited to 'nptl/tst-rwlock4.c')
-rw-r--r--nptl/tst-rwlock4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/tst-rwlock4.c b/nptl/tst-rwlock4.c
index b3dddd9d33..1fb47f7cd3 100644
--- a/nptl/tst-rwlock4.c
+++ b/nptl/tst-rwlock4.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;