summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/h5test.c4
-rw-r--r--test/h5test.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/test/h5test.c b/test/h5test.c
index 555485b..e93be23 100644
--- a/test/h5test.c
+++ b/test/h5test.c
@@ -802,14 +802,14 @@ h5_dump_info_object(MPI_Info info)
*
*-------------------------------------------------------------------------
*/
-off_t
+h5_stat_size_t
h5_get_file_size(const char *filename)
{
h5_stat_t sb;
/* Get the file's statistics */
if (HDstat(filename, &sb)>=0)
- return((off_t)sb.st_size);
+ return((h5_stat_size_t)sb.st_size);
return(0);
} /* end get_file_size() */
diff --git a/test/h5test.h b/test/h5test.h
index a21ccdc..c065c34 100644
--- a/test/h5test.h
+++ b/test/h5test.h
@@ -128,7 +128,7 @@ H5TEST_DLL hid_t h5_fileaccess(void);
H5TEST_DLL void h5_no_hwconv(void);
H5TEST_DLL void h5_reset(void);
H5TEST_DLL void h5_show_hostname(void);
-H5TEST_DLL off_t h5_get_file_size(const char *filename);
+H5TEST_DLL h5_stat_size_t h5_get_file_size(const char *filename);
H5TEST_DLL int print_func(const char *format, ...);
/* Routines for operating on the list of tests (for the "all in one" tests) */