summary refs log tree commit diff
path: root/nptl/tst-barrier2.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-barrier2.c
parentcb4d04cd6133e8fe7af1bd7d193683e9d93189b4 (diff)
downloadglibc-f9657e88fabd682d176d1205a8a03677228eaab3.tar.gz
glibc-f9657e88fabd682d176d1205a8a03677228eaab3.tar.xz
glibc-f9657e88fabd682d176d1205a8a03677228eaab3.zip
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-barrier2.c')
-rw-r--r--nptl/tst-barrier2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/tst-barrier2.c b/nptl/tst-barrier2.c
index 7b9b5cd939..b147ae1bfb 100644
--- a/nptl/tst-barrier2.c
+++ b/nptl/tst-barrier2.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;