summaryrefslogtreecommitdiffstats
path: root/test/flush2.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/flush2.c')
-rw-r--r--test/flush2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/flush2.c b/test/flush2.c
index 95818b8..42fcdab 100644
--- a/test/flush2.c
+++ b/test/flush2.c
@@ -131,7 +131,7 @@ main(void)
* for the Win32 version 5.0 compiler.
* 1998-11-06 ptl
*/
- error = fabs(the_data[i][j]-(double)((hssize_t)(i/(j+1))));
+ error = fabs(the_data[i][j]-(double)(hssize_t)i/((hssize_t)j+1));
assert(error<0.0001);
}
}