diff options
Diffstat (limited to 'src/H5Fistore.c')
-rw-r--r-- | src/H5Fistore.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5Fistore.c b/src/H5Fistore.c index 7f3fb7f..a4d415c 100644 --- a/src/H5Fistore.c +++ b/src/H5Fistore.c @@ -1181,7 +1181,8 @@ H5F_istore_lock (H5F_t *f, const H5O_layout_t *layout, assert(split_ratios); if (rdcc->nslots>0) { - idx = layout->addr.offset; + /* We don't care about loss of precision in the following statement. */ + idx = (uintn)(layout->addr.offset); H5F_MIXUP(idx); for (i=0; i<layout->ndims; i++) { idx += offset[i]; |