diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2020-04-27 15:51:58 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2020-04-27 15:51:58 (GMT) |
commit | 9a598477c6ccecef8e43dbda6b6828b9fcac8df6 (patch) | |
tree | d86b6cc76c01f4d47f3fc542589ec4666ca1e614 /tools/test/perform/zip_perf.c | |
parent | f3d23046473916d497bdf7d14381e3ef24122882 (diff) | |
parent | c03ee563f46013d22f36a1895664a9ba876558e9 (diff) | |
download | hdf5-9a598477c6ccecef8e43dbda6b6828b9fcac8df6.zip hdf5-9a598477c6ccecef8e43dbda6b6828b9fcac8df6.tar.gz hdf5-9a598477c6ccecef8e43dbda6b6828b9fcac8df6.tar.bz2 |
Merge pull request #2541 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:develop_minor to develop
* commit 'c03ee563f46013d22f36a1895664a9ba876558e9':
Further updates to the tools warnings fixes from code review.
Updates to tools warning PR from code review.
Fixes for warnings in the tools code.
Diffstat (limited to 'tools/test/perform/zip_perf.c')
-rw-r--r-- | tools/test/perform/zip_perf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/test/perform/zip_perf.c b/tools/test/perform/zip_perf.c index e301bb3..8f1f584 100644 --- a/tools/test/perform/zip_perf.c +++ b/tools/test/perform/zip_perf.c @@ -552,7 +552,7 @@ do_write_test(unsigned long file_size, unsigned long min_buf_size, * Modifications: */ int -main(int argc, char **argv) +main(int argc, const char *argv[]) { unsigned long min_buf_size = 128 * ONE_KB, max_buf_size = ONE_MB; unsigned long file_size = 64 * ONE_MB; @@ -563,7 +563,7 @@ main(int argc, char **argv) /* Initialize h5tools lib */ h5tools_init(); - while ((opt = get_option(argc, (const char **)argv, s_opts, l_opts)) > 0) { + while ((opt = get_option(argc, argv, s_opts, l_opts)) > 0) { switch ((char)opt) { case '0': case '1': case '2': case '3': case '4': case '5': |