summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkmu <kmu@hdfgroup.org>2020-01-29 19:43:31 (GMT)
committerkmu <kmu@hdfgroup.org>2020-01-29 19:43:31 (GMT)
commit4453dc2998f9e053896a0d2da6484c3884ce0c6a (patch)
treeb54b0f7dba8a75795ab0a07b8c002073a0246940
parent0443c582d8b2be29b3c39e8084628822711987ab (diff)
downloadhdf5-4453dc2998f9e053896a0d2da6484c3884ce0c6a.zip
hdf5-4453dc2998f9e053896a0d2da6484c3884ce0c6a.tar.gz
hdf5-4453dc2998f9e053896a0d2da6484c3884ce0c6a.tar.bz2
fix bad function cast warning
-rw-r--r--tools/src/h5repack/h5repack_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/src/h5repack/h5repack_main.c b/tools/src/h5repack/h5repack_main.c
index c0c8a2a..947cb06 100644
--- a/tools/src/h5repack/h5repack_main.c
+++ b/tools/src/h5repack/h5repack_main.c
@@ -492,7 +492,7 @@ int parse_command_line(int argc, const char **argv, pack_opt_t* options)
break;
case 'j':
- options->low_bound = (H5F_libver_t)HDatoi(opt_arg);
+ options->low_bound = HDatoi(opt_arg);
if (options->low_bound < H5F_LIBVER_EARLIEST || options->low_bound > H5F_LIBVER_LATEST) {
error_msg("in parsing low bound\n");
goto done;
@@ -500,7 +500,7 @@ int parse_command_line(int argc, const char **argv, pack_opt_t* options)
break;
case 'k':
- options->high_bound = (H5F_libver_t)HDatoi(opt_arg);
+ options->high_bound = HDatoi(opt_arg);
if (options->high_bound < H5F_LIBVER_EARLIEST || options->high_bound > H5F_LIBVER_LATEST) {
error_msg("in parsing high bound\n");
goto done;