summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/fs-tests/stress/atoms/rndwrite00.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fs-tests/stress/atoms/rndwrite00.c b/tests/fs-tests/stress/atoms/rndwrite00.c
index 655d9cc..3c38e43 100644
--- a/tests/fs-tests/stress/atoms/rndwrite00.c
+++ b/tests/fs-tests/stress/atoms/rndwrite00.c
@@ -36,7 +36,7 @@
static void check_file(int fd, char *data, size_t length)
{
- size_t n, i;
+ ssize_t n, i;
char buf[BUFFER_SIZE];
CHECK(lseek(fd, 0, SEEK_SET) != -1);