diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/H5Fvfd_swmr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/H5Fvfd_swmr.c b/src/H5Fvfd_swmr.c index 376fa38..dbe04ec 100644 --- a/src/H5Fvfd_swmr.c +++ b/src/H5Fvfd_swmr.c @@ -1956,6 +1956,7 @@ vfd_swmr_enlarge_shadow_index(H5F_t *f) old_mdf_idx = shared->mdf_idx; old_mdf_idx_len = shared->mdf_idx_len; + /* New length is double previous or UINT32_MAX, whichever is smaller. */ if (UINT32_MAX - old_mdf_idx_len >= old_mdf_idx_len) new_mdf_idx_len = old_mdf_idx_len * 2; else |