diff options
Diffstat (limited to 'nptl/tst-barrier2.c')
-rw-r--r-- | nptl/tst-barrier2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/tst-barrier2.c b/nptl/tst-barrier2.c index 7b9b5cd..b147ae1 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; |