about summary refs log tree commit diff
path: root/libio/tst-mmap2-eofsync.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/tst-mmap2-eofsync.c')
-rw-r--r--libio/tst-mmap2-eofsync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libio/tst-mmap2-eofsync.c b/libio/tst-mmap2-eofsync.c
index 60bad94027..f3699656ab 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
     {