summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/H5Fint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Fint.c b/src/H5Fint.c
index c9c6658..77b0cef 100644
--- a/src/H5Fint.c
+++ b/src/H5Fint.c
@@ -2993,7 +2993,7 @@ H5F_set_retries(H5F_t *f)
f->shared->retries_nbins = 0;
if(f->shared->read_attempts > 1) {
tmp = HDlog10((double)(f->shared->read_attempts - 1));
- f->shared->retries_nbins = (unsigned)tmp + 1;
+ f->shared->retries_nbins = (unsigned)(tmp + 1);
}
FUNC_LEAVE_NOAPI(SUCCEED)