diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2022-01-29 20:30:28 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-29 20:30:28 (GMT) |
commit | 331cf6926d5f07a1edb75674299f9787d79d1d68 (patch) | |
tree | 92c1ed4535898da49c0315f7f9adf9b8e32d0e31 /tools/test/perform/zip_perf.c | |
parent | 9fb8b1e53a09f5b9ef0ec1bfca4d7c93f8cfe020 (diff) | |
download | hdf5-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/test/perform/zip_perf.c')
-rw-r--r-- | tools/test/perform/zip_perf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/test/perform/zip_perf.c b/tools/test/perform/zip_perf.c index 123fb98..5db97d1 100644 --- a/tools/test/perform/zip_perf.c +++ b/tools/test/perform/zip_perf.c @@ -489,7 +489,7 @@ do_write_test(unsigned long file_size, unsigned long min_buf_size, unsigned long * Modifications: */ int -main(int argc, const char *argv[]) +main(int argc, char *argv[]) { unsigned long min_buf_size = 128 * ONE_KB, max_buf_size = ONE_MB; unsigned long file_size = 64 * ONE_MB; @@ -500,7 +500,7 @@ main(int argc, const char *argv[]) /* Initialize h5tools lib */ h5tools_init(); - while ((opt = H5_get_option(argc, argv, s_opts, l_opts)) > 0) { + while ((opt = H5_get_option(argc, (const char *const *)argv, s_opts, l_opts)) > 0) { switch ((char)opt) { case '0': case '1': @@ -551,7 +551,7 @@ main(int argc, const char *argv[]) } if (min_buf_size > max_buf_size) - error("minmum buffer size (%d) exceeds maximum buffer size (%d)", min_buf_size, max_buf_size); + error("minimum buffer size (%d) exceeds maximum buffer size (%d)", min_buf_size, max_buf_size); HDfprintf(stdout, "Filesize: %ld\n", file_size); |