summaryrefslogtreecommitdiffstats
path: root/test/chunk.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/chunk.c')
-rw-r--r--test/chunk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/chunk.c b/test/chunk.c
index d847db3..e119b0c 100644
--- a/test/chunk.c
+++ b/test/chunk.c
@@ -289,7 +289,7 @@ test_diag (int op, hsize_t cache_size, hsize_t io_size, hsize_t offset)
* Win32 version 5.0 compiler.
* 1998-11-06 ptl
*/
- return (double)((hssize_t)(nio/nio_g));
+ return (double)(hssize_t)nio/(hssize_t)nio_g;
}