summaryrefslogtreecommitdiffstats
path: root/src/H5HFdblock.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2006-11-07 20:19:41 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2006-11-07 20:19:41 (GMT)
commite87cb9148356b581d8ff8a910ea3acc9d549ee7a (patch)
treeb4a8910040dccd553a23fe831b4f5f1e1798071e /src/H5HFdblock.c
parent53357538de48331d44345e8b91020c84fc144e9c (diff)
downloadhdf5-e87cb9148356b581d8ff8a910ea3acc9d549ee7a.zip
hdf5-e87cb9148356b581d8ff8a910ea3acc9d549ee7a.tar.gz
hdf5-e87cb9148356b581d8ff8a910ea3acc9d549ee7a.tar.bz2
[svn-r12877] Description:
Clean up more compiler warnings. Tested on: Linux/64 2.6 (chicago2)
Diffstat (limited to 'src/H5HFdblock.c')
-rw-r--r--src/H5HFdblock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5HFdblock.c b/src/H5HFdblock.c
index 1007412..c9322c4 100644
--- a/src/H5HFdblock.c
+++ b/src/H5HFdblock.c
@@ -129,7 +129,7 @@ H5HF_man_dblock_create(hid_t dxpl_id, H5HF_hdr_t *hdr, H5HF_indirect_t *par_iblo
dblock->block_off = par_iblock->block_off;
dblock->block_off += hdr->man_dtable.row_block_off[par_row];
dblock->block_off += hdr->man_dtable.row_block_size[par_row] * (par_entry % hdr->man_dtable.cparam.width);
- dblock->size = hdr->man_dtable.row_block_size[par_row];
+ H5_ASSIGN_OVERFLOW(/* To: */ dblock->size, /* From: */ hdr->man_dtable.row_block_size[par_row], /* From: */ hsize_t, /* To: */ size_t);
} /* end if */
else {
/* Must be the root direct block */
@@ -434,7 +434,7 @@ HDfprintf(stderr, "%s: after updating iterator, hdr->man_iter_off = %Hu\n", FUNC
if(H5HF_man_iter_curr(&hdr->next_block, &next_row, NULL, &next_entry, &iblock) < 0)
HGOTO_ERROR(H5E_HEAP, H5E_CANTGET, FAIL, "unable to retrieve current block iterator location")
HDassert(next_row < iblock->nrows);
- next_size = hdr->man_dtable.row_block_size[next_row];
+ H5_ASSIGN_OVERFLOW(/* To: */ next_size, /* From: */ hdr->man_dtable.row_block_size[next_row], /* From: */ hsize_t, /* To: */ size_t);
/* Check for skipping over blocks */
if(min_dblock_size > next_size) {