summaryrefslogtreecommitdiffstats
path: root/test/big.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/big.c')
-rw-r--r--test/big.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/big.c b/test/big.c
index d20f8fb..d414e7d 100644
--- a/test/big.c
+++ b/test/big.c
@@ -128,7 +128,7 @@ enough_room(hid_t fapl)
if ((fd[i]=open(name, O_RDWR|O_CREAT|O_TRUNC, 0666))<0) {
goto done;
}
- if ((ssize_t)size != lseek(fd[i], size, SEEK_SET)) {
+ if ((off_t)size != lseek(fd[i], (off_t)size, SEEK_SET)) {
goto done;
}
if (1!=write(fd[i], "X", 1)) {