diff options
author | David Young <dyoung@hdfgroup.org> | 2022-03-10 16:17:13 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2022-03-10 16:17:13 (GMT) |
commit | 069f75648a62af448df60626e1c797631ac220bd (patch) | |
tree | bb03c9fbd6f8f83dcf7338ee0afcb1ddb0136dfa /tools/src/h5dump/h5dump.c | |
parent | e8bcb24e3fafc3dabc2a039c0e2be40b8e3bb1bb (diff) | |
parent | d5ddf61803f30e87bdfa629339fabf6fe1eb4a3c (diff) | |
download | hdf5-069f75648a62af448df60626e1c797631ac220bd.zip hdf5-069f75648a62af448df60626e1c797631ac220bd.tar.gz hdf5-069f75648a62af448df60626e1c797631ac220bd.tar.bz2 |
Merge remote-tracking branch 'thg/develop' into feature/h5detect
Diffstat (limited to 'tools/src/h5dump/h5dump.c')
-rw-r--r-- | tools/src/h5dump/h5dump.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/src/h5dump/h5dump.c b/tools/src/h5dump/h5dump.c index a57b0e3..8c04bc7 100644 --- a/tools/src/h5dump/h5dump.c +++ b/tools/src/h5dump/h5dump.c @@ -828,7 +828,7 @@ free_handler(struct handler_t *hand, int len) *------------------------------------------------------------------------- */ static struct handler_t * -parse_command_line(int argc, const char *argv[]) +parse_command_line(int argc, const char *const *argv) { struct handler_t *hand = NULL; struct handler_t *last_dset = NULL; @@ -1329,7 +1329,7 @@ error: *------------------------------------------------------------------------- */ int -main(int argc, const char *argv[]) +main(int argc, char *argv[]) { hid_t fid = H5I_INVALID_HID; hid_t gid = H5I_INVALID_HID; @@ -1349,7 +1349,7 @@ main(int argc, const char *argv[]) /* Initialize h5tools lib */ h5tools_init(); - if ((hand = parse_command_line(argc, argv)) == NULL) { + if ((hand = parse_command_line(argc, (const char *const *)argv)) == NULL) { goto done; } |