summaryrefslogtreecommitdiffstats
path: root/tools/test/h5format_convert/h5fc_chk_idx.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/test/h5format_convert/h5fc_chk_idx.c')
-rw-r--r--tools/test/h5format_convert/h5fc_chk_idx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/test/h5format_convert/h5fc_chk_idx.c b/tools/test/h5format_convert/h5fc_chk_idx.c
index 8369668..ad1742b 100644
--- a/tools/test/h5format_convert/h5fc_chk_idx.c
+++ b/tools/test/h5format_convert/h5fc_chk_idx.c
@@ -45,8 +45,8 @@ main(int argc, char *argv[])
{
char *fname = NULL;
char *dname = NULL;
- hid_t fid = -1;
- hid_t did = -1;
+ hid_t fid = H5I_INVALID_HID;
+ hid_t did = H5I_INVALID_HID;
H5D_chunk_index_t idx_type;
/* h5fc_chk_idx fname dname */