From f9657e88fabd682d176d1205a8a03677228eaab3 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 8 Apr 2003 18:23:59 +0000 Subject: Update. 2003-04-08 Ulrich Drepper * 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. --- nptl/tst-spin2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nptl/tst-spin2.c') diff --git a/nptl/tst-spin2.c b/nptl/tst-spin2.c index 84f0064c17..95a9293316 100644 --- a/nptl/tst-spin2.c +++ b/nptl/tst-spin2.c @@ -61,7 +61,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; -- cgit v1.2.1