From 2d3c16c2dc7af1c7a87044446e48730429299d32 Mon Sep 17 00:00:00 2001 From: Andy Shevchenko Date: Wed, 13 Apr 2011 16:20:27 +0300 Subject: tests: fs-tests: read() returns ssize_t value Use ssize_t instead of size_t. Signed-off-by: Andy Shevchenko Signed-off-by: Artem Bityutskiy --- tests/fs-tests/stress/atoms/rndwrite00.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/fs-tests/stress/atoms') 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); -- cgit v1.2.3