summaryrefslogtreecommitdiffstats
path: root/tools/src/h5diff/h5diff_main.c
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2022-01-29 20:30:28 (GMT)
committerGitHub <noreply@github.com>2022-01-29 20:30:28 (GMT)
commit331cf6926d5f07a1edb75674299f9787d79d1d68 (patch)
tree92c1ed4535898da49c0315f7f9adf9b8e32d0e31 /tools/src/h5diff/h5diff_main.c
parent9fb8b1e53a09f5b9ef0ec1bfca4d7c93f8cfe020 (diff)
downloadhdf5-331cf6926d5f07a1edb75674299f9787d79d1d68.zip
hdf5-331cf6926d5f07a1edb75674299f9787d79d1d68.tar.gz
hdf5-331cf6926d5f07a1edb75674299f9787d79d1d68.tar.bz2
1 12 Remove const from the argv tools/tests main sig. #1390 (#1404)
Diffstat (limited to 'tools/src/h5diff/h5diff_main.c')
-rw-r--r--tools/src/h5diff/h5diff_main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/src/h5diff/h5diff_main.c b/tools/src/h5diff/h5diff_main.c
index a835953..2a43b56 100644
--- a/tools/src/h5diff/h5diff_main.c
+++ b/tools/src/h5diff/h5diff_main.c
@@ -33,7 +33,7 @@
*
* Modifications: July 2004
* Introduced the four modes:
- * Normal mode: print the number of differences found and where they occured
+ * Normal mode: print the number of differences found and where they occurred
* Report mode: print the above plus the differences
* Verbose mode: print the above plus a list of objects and warnings
* Quiet mode: do not print output
@@ -65,7 +65,7 @@
*/
int
-main(int argc, const char *argv[])
+main(int argc, char *argv[])
{
int ret;
int i;
@@ -86,7 +86,7 @@ main(int argc, const char *argv[])
* process the command-line
*-------------------------------------------------------------------------
*/
- parse_command_line(argc, argv, &fname1, &fname2, &objname1, &objname2, &opts);
+ parse_command_line(argc, (const char *const *)argv, &fname1, &fname2, &objname1, &objname2, &opts);
/* enable error reporting if command line option */
h5tools_error_report();