summaryrefslogtreecommitdiffstats
path: root/tools/src
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 /tools/src
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 'tools/src')
-rw-r--r--tools/src/h5import/h5import.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/src/h5import/h5import.c b/tools/src/h5import/h5import.c
index 663f68a..828cb6a 100644
--- a/tools/src/h5import/h5import.c
+++ b/tools/src/h5import/h5import.c
@@ -4702,8 +4702,7 @@ process(struct Options *opt)
return (-1);
}
fclose(extfile);
- H5Pset_external(proplist, in->externFilename, (off_t)0,
- numOfElements * (hsize_t)in->inputSize / 8);
+ H5Pset_external(proplist, in->externFilename, 0, numOfElements * (hsize_t)in->inputSize / 8);
}
/* create dataspace */