summaryrefslogtreecommitdiffstats
path: root/src/H5Dio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Dio.c')
-rw-r--r--src/H5Dio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/H5Dio.c b/src/H5Dio.c
index d74fa83..f96d26e 100644
--- a/src/H5Dio.c
+++ b/src/H5Dio.c
@@ -2774,6 +2774,7 @@ H5D_create_chunk_file_map_hyper(fm_map *fm)
do {
/* Reset current dimension's location to 0 */
coords[curr_dim]=start_coords[curr_dim]; /*lint !e771 The start_coords will always be initialized */
+ end[curr_dim]=(coords[curr_dim]+(hssize_t)fm->chunk_dim[curr_dim])-1;
/* Decrement current dimension */
curr_dim--;