summaryrefslogtreecommitdiffstats
path: root/src/H5B2dbg.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2018-04-06 07:11:18 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2018-04-06 07:11:18 (GMT)
commit02039e0a91cf1baae46d52a77c521fc6357b7c90 (patch)
tree51f991973543d26428282abf46f7038d66e4ba7a /src/H5B2dbg.c
parent048ae59d2970dd21810577c999f756c028b6faaf (diff)
downloadhdf5-02039e0a91cf1baae46d52a77c521fc6357b7c90.zip
hdf5-02039e0a91cf1baae46d52a77c521fc6357b7c90.tar.gz
hdf5-02039e0a91cf1baae46d52a77c521fc6357b7c90.tar.bz2
Minor warning cleanup while working on VOL issues.
Diffstat (limited to 'src/H5B2dbg.c')
-rw-r--r--src/H5B2dbg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5B2dbg.c b/src/H5B2dbg.c
index dc079f1..c4f56e5 100644
--- a/src/H5B2dbg.c
+++ b/src/H5B2dbg.c
@@ -218,7 +218,7 @@ H5B2__int_debug(H5F_t *f, haddr_t addr, FILE *stream, int indent, int fwidth,
*/
H5_CHECK_OVERFLOW(depth, unsigned, uint16_t);
node_ptr.addr = addr;
- H5_CHECKED_ASSIGN(node_ptr.node_nrec, unsigned, nrec, uint16_t)
+ H5_CHECKED_ASSIGN(node_ptr.node_nrec, uint16_t, nrec, unsigned)
if(NULL == (internal = H5B2__protect_internal(hdr, NULL, &node_ptr, (uint16_t)depth, FALSE, H5AC__READ_ONLY_FLAG)))
HGOTO_ERROR(H5E_BTREE, H5E_CANTLOAD, FAIL, "unable to load B-tree internal node")
@@ -330,7 +330,7 @@ H5B2__leaf_debug(H5F_t *f, haddr_t addr, FILE *stream, int indent, int fwidth,
*/
H5_CHECK_OVERFLOW(nrec, unsigned, uint16_t);
node_ptr.addr = addr;
- H5_CHECKED_ASSIGN(node_ptr.node_nrec, unsigned, nrec, uint16_t)
+ H5_CHECKED_ASSIGN(node_ptr.node_nrec, uint16_t, nrec, unsigned)
if(NULL == (leaf = H5B2__protect_leaf(hdr, NULL, &node_ptr, FALSE, H5AC__READ_ONLY_FLAG)))
HGOTO_ERROR(H5E_BTREE, H5E_CANTPROTECT, FAIL, "unable to protect B-tree leaf node")