diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2016-08-13 09:23:53 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2016-08-13 09:23:53 (GMT) |
commit | f40381b0eab242182a02b0bb97aed88b37095086 (patch) | |
tree | 600c15466f4bbb9576ccc78f82287e5e6c78612b /tools/h5diff/h5diff_common.c | |
parent | ae0b7490126e45e312b63a27b499e5a25e402f40 (diff) | |
download | hdf5-f40381b0eab242182a02b0bb97aed88b37095086.zip hdf5-f40381b0eab242182a02b0bb97aed88b37095086.tar.gz hdf5-f40381b0eab242182a02b0bb97aed88b37095086.tar.bz2 |
[svn-r30285] Description:
More warning cleanups, bringing the build down to 25 unique types of
warnings, with 550 warnings in 122 files (down from 28, 770, and 134).
Tested on:
MacOSX/64 10.11.5 (amazon) w/serial & parallel
(h5committest forthcoming)
Diffstat (limited to 'tools/h5diff/h5diff_common.c')
-rw-r--r-- | tools/h5diff/h5diff_common.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tools/h5diff/h5diff_common.c b/tools/h5diff/h5diff_common.c index 8a996d9..2453ffc 100644 --- a/tools/h5diff/h5diff_common.c +++ b/tools/h5diff/h5diff_common.c @@ -218,7 +218,7 @@ void parse_command_line(int argc, options->delta = atof( opt_arg ); /* -d 0 is the same as default */ - if (options->delta == 0) + if (H5_DBL_ABS_EQUAL(options->delta, (double)0.0F)) options->d=0; break; @@ -235,7 +235,7 @@ void parse_command_line(int argc, options->percent = atof( opt_arg ); /* -p 0 is the same as default */ - if (options->percent == 0) + if (H5_DBL_ABS_EQUAL(options->percent, (double)0.0F)) options->p = 0; break; @@ -249,16 +249,17 @@ void parse_command_line(int argc, usage(); h5diff_exit(EXIT_FAILURE); } - options->count = atol( opt_arg ); - + options->count = HDstrtoull(opt_arg, NULL, 0); break; case 'N': options->do_nans = 0; break; + case 'c': options->m_list_not_cmp = 1; break; + case 'e': options->use_system_epsilon = 1; break; |