summaryrefslogtreecommitdiffstats
path: root/test/th5s.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2024-03-09 17:06:10 (GMT)
committerGitHub <noreply@github.com>2024-03-09 17:06:10 (GMT)
commit0ea1d7280ba93039cad14faf7b0ed65da20ce563 (patch)
tree5cd59487a3270224e0aec98606a13cf22706cc26 /test/th5s.c
parentd4c84f8d0a60e6eedd7288116d203dccf24a0b3a (diff)
downloadhdf5-0ea1d7280ba93039cad14faf7b0ed65da20ce563.zip
hdf5-0ea1d7280ba93039cad14faf7b0ed65da20ce563.tar.gz
hdf5-0ea1d7280ba93039cad14faf7b0ed65da20ce563.tar.bz2
Clean up off_t usage (#4095)
* Add comments to C++ and Fortran API calls that use off_t * Remove noise casts for small integers
Diffstat (limited to 'test/th5s.c')
-rw-r--r--test/th5s.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/th5s.c b/test/th5s.c
index f0e4959..4c46c40 100644
--- a/test/th5s.c
+++ b/test/th5s.c
@@ -933,7 +933,7 @@ test_h5s_zero_dim(void)
* space in the external file is the size of the dataset (zero because one dimension size is zero).
* There's no need to clean up the external file since the library doesn't create it
* until the data is written to it. */
- ret = H5Pset_external(plist_id, EXTFILE_NAME, (off_t)0, (hsize_t)0);
+ ret = H5Pset_external(plist_id, EXTFILE_NAME, 0, (hsize_t)0);
CHECK(ret, FAIL, "H5Pset_external");
ret = H5Pset_alloc_time(plist_id, alloc_time);