diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/big.c | 2 | ||||
-rw-r--r-- | test/h5test.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -74,7 +74,7 @@ static int is_sparse(void) { int fd; - struct stat sb; + h5_stat_t sb; if ((fd=open("x.h5", O_RDWR|O_TRUNC|O_CREAT, 0666))<0) return 0; if (lseek(fd, (off_t)(1024*1024), SEEK_SET)!=1024*1024) return 0; diff --git a/test/h5test.c b/test/h5test.c index 7a1fad5..2f8e183 100644 --- a/test/h5test.c +++ b/test/h5test.c @@ -319,7 +319,7 @@ h5_fixname(const char *base_name, hid_t fapl, char *fullname, size_t size) if (HDstrlen(fullname) + HDstrlen(base_name) + 1 < size) { /* Append the base_name with a slash first. Multiple slashes are * handled below. */ - struct stat buf; + h5_stat_t buf; if (HDstat(fullname, &buf) < 0) /* The directory doesn't exist just yet */ |