1 8 Remove const from the argv tools/tests main sig. #1390 (#1406)

This commit is contained in:
Allen Byrne
2022-01-29 14:30:54 -06:00
committed by GitHub
parent f8578a5e5c
commit f64b2c0f25
23 changed files with 66 additions and 65 deletions

View File

@@ -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();