summaryrefslogtreecommitdiffstats
path: root/src/H5Dchunk.c
diff options
context:
space:
mode:
authorVailin Choi <vchoi@jam.ad.hdfgroup.org>2017-12-07 23:05:25 (GMT)
committerVailin Choi <vchoi@jam.ad.hdfgroup.org>2017-12-07 23:05:25 (GMT)
commitf3715a69d5016372e265ac2e21b2a65e0e756306 (patch)
tree2dd47bb4e7f742e2ddd25b5cc2a00732b0c23360 /src/H5Dchunk.c
parent02d6a8b3ab923b386fd56816a18c6bf5640c4feb (diff)
downloadhdf5-f3715a69d5016372e265ac2e21b2a65e0e756306.zip
hdf5-f3715a69d5016372e265ac2e21b2a65e0e756306.tar.gz
hdf5-f3715a69d5016372e265ac2e21b2a65e0e756306.tar.bz2
Fix for daily test failures.
Diffstat (limited to 'src/H5Dchunk.c')
-rw-r--r--src/H5Dchunk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Dchunk.c b/src/H5Dchunk.c
index be3b678..f96abdd 100644
--- a/src/H5Dchunk.c
+++ b/src/H5Dchunk.c
@@ -2008,7 +2008,7 @@ H5D__chunk_file_cb(void H5_ATTR_UNUSED *elem, const H5T_t H5_ATTR_UNUSED *type,
coords_in_chunk[u] = coords[u] - (scaled[u] * fm->layout->u.chunk.dim[u]);
/* Add point to file selection for chunk */
- if(H5S_select_elements(chunk_info->fspace, H5S_SELECT_APPEND, (size_t)1, coords_in_chunk) < 0)
+ if(H5S_select_elements(chunk_info->fspace, H5S_SELECT_APPEND, (hsize_t)1, coords_in_chunk) < 0)
HGOTO_ERROR(H5E_DATASPACE, H5E_CANTSELECT, FAIL, "unable to select element")
/* Increment the number of elemented selected in chunk */
@@ -2088,7 +2088,7 @@ H5D__chunk_mem_cb(void H5_ATTR_UNUSED *elem, const H5T_t H5_ATTR_UNUSED *type, u
} /* end else */
/* Move memory selection iterator to next element in selection */
- if(H5S_SELECT_ITER_NEXT(&fm->mem_iter, (size_t)1) < 0)
+ if(H5S_SELECT_ITER_NEXT(&fm->mem_iter, (hsize_t)1) < 0)
HGOTO_ERROR(H5E_DATASPACE, H5E_CANTNEXT, FAIL, "unable to move to next iterator location")
done: