summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/H5Dio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5Dio.c b/src/H5Dio.c
index 243b5a9..577df91 100644
--- a/src/H5Dio.c
+++ b/src/H5Dio.c
@@ -2764,7 +2764,8 @@ H5D_create_chunk_file_map_hyper(fm_map *fm)
new_chunk_info->mspace_shared=0;
/* Copy the chunk's coordinates */
- HDmemcpy(new_chunk_info->coords,coords,fm->f_ndims*sizeof(new_chunk_info->coords[0]));
+ for(u=0; u<fm->f_ndims; u++)
+ new_chunk_info->coords[u]=coords[u];
new_chunk_info->coords[fm->f_ndims]=0;
/* Insert the new chunk into the TBBT tree */