summaryrefslogtreecommitdiffstats
path: root/test/fheap.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/fheap.c')
-rw-r--r--test/fheap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/fheap.c b/test/fheap.c
index a256301..1a2ac12 100644
--- a/test/fheap.c
+++ b/test/fheap.c
@@ -15710,9 +15710,9 @@ test_write(hid_t fapl, H5HF_create_t *cparam, fheap_test_param_t *tparam)
/* Change size of data to write */
if(u < 20)
- obj_size *= 1.3;
+ obj_size = (size_t)(obj_size * 1.3F);
else
- obj_size /= 1.3;
+ obj_size = (size_t)(obj_size / 1.3F);
} /* end for */
/* Close the fractal heap */
@@ -15755,9 +15755,9 @@ test_write(hid_t fapl, H5HF_create_t *cparam, fheap_test_param_t *tparam)
/* Change size of data to write */
if(u < 20)
- obj_size *= 1.3;
+ obj_size = (size_t)(obj_size * 1.3F);
else
- obj_size /= 1.3;
+ obj_size = (size_t)(obj_size / 1.3F);
} /* end for */
/* Close the fractal heap */