summaryrefslogtreecommitdiffstats
path: root/tools/h5diff/h5diff_common.c
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2006-12-01 15:42:26 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2006-12-01 15:42:26 (GMT)
commit7855afc4b2a1fd4c266f96aa7a8dc21964e3bda3 (patch)
treecd6249d206edc65d4cece36460d3f15a571a9815 /tools/h5diff/h5diff_common.c
parent27c0fb2220c241337bd82426ca2c178bff2e3870 (diff)
downloadhdf5-7855afc4b2a1fd4c266f96aa7a8dc21964e3bda3.zip
hdf5-7855afc4b2a1fd4c266f96aa7a8dc21964e3bda3.tar.gz
hdf5-7855afc4b2a1fd4c266f96aa7a8dc21964e3bda3.tar.bz2
[svn-r13003]
Cleaned warnings h5diff_array.c:804: warning: passing arg 1 of `fabs' as floating rather than integer due to prototype introduced double precision arithmetic when possible instead of single precision
Diffstat (limited to 'tools/h5diff/h5diff_common.c')
-rw-r--r--tools/h5diff/h5diff_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/h5diff/h5diff_common.c b/tools/h5diff/h5diff_common.c
index 42a1943..fb121a3 100644
--- a/tools/h5diff/h5diff_common.c
+++ b/tools/h5diff/h5diff_common.c
@@ -96,7 +96,7 @@ void parse_input(int argc, const char* argv[], const char** fname1, const char**
printf("<-d %s> is not a valid option\n", argv[i+1] );
usage();
}
- options->delta = (float) atof(argv[i+1]);
+ options->delta = atof(argv[i+1]);
i++; /* go to next */
}
else
@@ -114,7 +114,7 @@ void parse_input(int argc, const char* argv[], const char** fname1, const char**
printf("<-p %s> is not a valid option\n", argv[i+1] );
usage();
}
- options->percent = (float) atof(argv[i+1]);
+ options->percent = atof(argv[i+1]);
i++; /* go to next */
}
else