summaryrefslogtreecommitdiffstats
path: root/tools/test/perform/sio_perf.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/test/perform/sio_perf.c')
-rw-r--r--tools/test/perform/sio_perf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/test/perform/sio_perf.c b/tools/test/perform/sio_perf.c
index 5b3a9e8..fe4e7e7 100644
--- a/tools/test/perform/sio_perf.c
+++ b/tools/test/perform/sio_perf.c
@@ -65,8 +65,7 @@
#define SIO_HDF5 0x4
/* report 0.0 in case t is zero too */
-#define MB_PER_SEC(bytes, t) \
- (H5_DBL_ABS_EQUAL(t, (double)0.0F) ? (double)0.0F : ((((double)bytes) / (double)ONE_MB) / (t)))
+#define MB_PER_SEC(bytes, t) (H5_DBL_ABS_EQUAL(t, 0.0) ? 0.0 : ((((double)bytes) / (double)ONE_MB) / (t)))
#ifndef TRUE
#define TRUE 1