summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Joe Lee <hyoklee@hdfgroup.org>2021-09-29 13:59:24 (GMT)
committerGitHub <noreply@github.com>2021-09-29 13:59:24 (GMT)
commit35cf4a69bfc2abd6d1bb1782c3a34feb3f504b57 (patch)
tree953f531c9ef15cfd4b4362cd9de5729ac27724fb
parent9e319d403ce35e7ab971c93cdeaded668abc5c9a (diff)
downloadhdf5-35cf4a69bfc2abd6d1bb1782c3a34feb3f504b57.zip
hdf5-35cf4a69bfc2abd6d1bb1782c3a34feb3f504b57.tar.gz
hdf5-35cf4a69bfc2abd6d1bb1782c3a34feb3f504b57.tar.bz2
OESS-168: Remove clang warnings. (#1047)
This patch will remove clang warnings on Mac: 'float' to 'double' [-Wdouble-promotion]
-rw-r--r--tools/test/perform/zip_perf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/test/perform/zip_perf.c b/tools/test/perform/zip_perf.c
index d8cd3a1..123fb98 100644
--- a/tools/test/perform/zip_perf.c
+++ b/tools/test/perform/zip_perf.c
@@ -396,7 +396,7 @@ do_write_test(unsigned long file_size, unsigned long min_buf_size, unsigned long
error("out of memory");
}
- compression_time = 0.0F;
+ compression_time = 0.0;
if (random_test)
fill_with_random_data(src, src_len);