diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2024-03-09 17:06:10 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-09 17:06:10 (GMT) |
commit | 0ea1d7280ba93039cad14faf7b0ed65da20ce563 (patch) | |
tree | 5cd59487a3270224e0aec98606a13cf22706cc26 /testpar/t_prop.c | |
parent | d4c84f8d0a60e6eedd7288116d203dccf24a0b3a (diff) | |
download | hdf5-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 'testpar/t_prop.c')
-rw-r--r-- | testpar/t_prop.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/testpar/t_prop.c b/testpar/t_prop.c index 23710d7..af7b9a8 100644 --- a/testpar/t_prop.c +++ b/testpar/t_prop.c @@ -172,13 +172,13 @@ test_plist_ed(void) VRFY((ret >= 0), "set fill-value succeeded"); max_size[0] = 100; - ret = H5Pset_external(dcpl, "ext1.data", (off_t)0, (hsize_t)(max_size[0] * sizeof(int) / 4)); + ret = H5Pset_external(dcpl, "ext1.data", 0, (hsize_t)(max_size[0] * sizeof(int) / 4)); VRFY((ret >= 0), "set external succeeded"); - ret = H5Pset_external(dcpl, "ext2.data", (off_t)0, (hsize_t)(max_size[0] * sizeof(int) / 4)); + ret = H5Pset_external(dcpl, "ext2.data", 0, (hsize_t)(max_size[0] * sizeof(int) / 4)); VRFY((ret >= 0), "set external succeeded"); - ret = H5Pset_external(dcpl, "ext3.data", (off_t)0, (hsize_t)(max_size[0] * sizeof(int) / 4)); + ret = H5Pset_external(dcpl, "ext3.data", 0, (hsize_t)(max_size[0] * sizeof(int) / 4)); VRFY((ret >= 0), "set external succeeded"); - ret = H5Pset_external(dcpl, "ext4.data", (off_t)0, (hsize_t)(max_size[0] * sizeof(int) / 4)); + ret = H5Pset_external(dcpl, "ext4.data", 0, (hsize_t)(max_size[0] * sizeof(int) / 4)); VRFY((ret >= 0), "set external succeeded"); ret = test_encode_decode(dcpl, mpi_rank, recv_proc); |