summaryrefslogtreecommitdiffstats
path: root/tools/src/h5jam
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-01-13 23:09:48 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-01-13 23:10:09 (GMT)
commit341600b4a68dc9dbf11e1c43c3ff2746c200bd2c (patch)
treeb8c1644d019ab10eb862fe477fe09f8c3db9b027 /tools/src/h5jam
parentc3c60dc7b5d5104475748f9967135903e3974cc3 (diff)
downloadhdf5-341600b4a68dc9dbf11e1c43c3ff2746c200bd2c.zip
hdf5-341600b4a68dc9dbf11e1c43c3ff2746c200bd2c.tar.gz
hdf5-341600b4a68dc9dbf11e1c43c3ff2746c200bd2c.tar.bz2
Update tools hid_t declarations with H5I_INVALID_HID
Diffstat (limited to 'tools/src/h5jam')
-rw-r--r--tools/src/h5jam/h5jam.c4
-rw-r--r--tools/src/h5jam/h5unjam.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/tools/src/h5jam/h5jam.c b/tools/src/h5jam/h5jam.c
index 8222e06..07797c8 100644
--- a/tools/src/h5jam/h5jam.c
+++ b/tools/src/h5jam/h5jam.c
@@ -197,8 +197,8 @@ main (int argc, const char *argv[])
int ofid = -1;
void *edata;
H5E_auto2_t func;
- hid_t ifile = -1;
- hid_t plist = -1;
+ hid_t ifile = H5I_INVALID_HID;
+ hid_t plist = H5I_INVALID_HID;
herr_t status;
htri_t testval;
hsize_t usize;
diff --git a/tools/src/h5jam/h5unjam.c b/tools/src/h5jam/h5unjam.c
index aa893f9..203522b 100644
--- a/tools/src/h5jam/h5unjam.c
+++ b/tools/src/h5jam/h5unjam.c
@@ -199,8 +199,8 @@ main(int argc, const char *argv[])
{
void *edata;
H5E_auto2_t func;
- hid_t ifile = -1;
- hid_t plist = -1;
+ hid_t ifile = H5I_INVALID_HID;
+ hid_t plist = H5I_INVALID_HID;
off_t fsize;
hsize_t usize;
htri_t testval;