diff options
Diffstat (limited to 'libio/tst-mmap2-eofsync.c')
-rw-r--r-- | libio/tst-mmap2-eofsync.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libio/tst-mmap2-eofsync.c b/libio/tst-mmap2-eofsync.c index 60bad94..f369965 100644 --- a/libio/tst-mmap2-eofsync.c +++ b/libio/tst-mmap2-eofsync.c @@ -78,7 +78,7 @@ do_test (void) } c = write (temp_fd, pages + pagesize, pagesize); - if (c == pagesize) + if (c == (ssize_t) pagesize) printf ("wrote more to file\n"); else { |