summaryrefslogtreecommitdiffstats
path: root/test/h5test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/h5test.c')
-rw-r--r--test/h5test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/h5test.c b/test/h5test.c
index 5c21181..1338b5b 100644
--- a/test/h5test.c
+++ b/test/h5test.c
@@ -793,7 +793,7 @@ h5_get_file_size(const char *filename)
/* Get the file's statistics */
if (HDstat(filename, &sb)>=0)
- return(sb.st_size);
+ return((off_t)sb.st_size);
return(0);
} /* end get_file_size() */