summaryrefslogtreecommitdiffstats
path: root/tools/src/h5copy
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/h5copy
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/h5copy')
-rw-r--r--tools/src/h5copy/h5copy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/src/h5copy/h5copy.c b/tools/src/h5copy/h5copy.c
index 86bd6f6..e1370e2 100644
--- a/tools/src/h5copy/h5copy.c
+++ b/tools/src/h5copy/h5copy.c
@@ -211,8 +211,8 @@ main (int argc, const char *argv[])
H5E_auto2_t tools_func;
void *edata;
void *tools_edata;
- hid_t fid_src = -1;
- hid_t fid_dst = -1;
+ hid_t fid_src = H5I_INVALID_HID;
+ hid_t fid_dst = H5I_INVALID_HID;
unsigned flag = 0;
unsigned verbose = 0;
unsigned parents = 0;