summaryrefslogtreecommitdiffstats
path: root/tools/h5diff/h5diff_common.c
diff options
context:
space:
mode:
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