From 6fed7a0f214ce6a559e177689441681aa76867b4 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 11 Apr 2003 22:59:18 +0000 Subject: (do_test): Add cast to avoid warning. --- nptl/tst-mutex4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nptl/tst-mutex4.c') 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; -- cgit v1.1