summaryrefslogtreecommitdiffstats
path: root/src/H5Olayout.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2009-07-29 22:45:57 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2009-07-29 22:45:57 (GMT)
commit0836a8cf5652392f59d3917446a7ca2af9234e09 (patch)
tree6f2865263358c81f0eb5c077dc789e777c7cae5e /src/H5Olayout.c
parent913adc97563247edb3e41ccaf827aae30a885b23 (diff)
downloadhdf5-0836a8cf5652392f59d3917446a7ca2af9234e09.zip
hdf5-0836a8cf5652392f59d3917446a7ca2af9234e09.tar.gz
hdf5-0836a8cf5652392f59d3917446a7ca2af9234e09.tar.bz2
[svn-r17264] Description:
Refine how we store the chunk index address in the layout storage structure. Tested on: FreeBSD/32 6.3 (duty) debug Mac OS X/32 10.5.7 (amazon) debug & production Too minor to require h5committest
Diffstat (limited to 'src/H5Olayout.c')
-rw-r--r--src/H5Olayout.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5Olayout.c b/src/H5Olayout.c
index 9eb005d..0f9370a 100644
--- a/src/H5Olayout.c
+++ b/src/H5Olayout.c
@@ -137,7 +137,7 @@ H5O_layout_decode(H5F_t *f, hid_t UNUSED dxpl_id, H5O_t UNUSED *open_oh,
mesg->ops = H5D_LOPS_CONTIG;
} /* end if */
else if(mesg->type == H5D_CHUNKED) {
- H5F_addr_decode(f, &p, &(mesg->store.u.chunk.u.btree.addr));
+ H5F_addr_decode(f, &p, &(mesg->store.u.chunk.idx_addr));
/* Set the layout operations */
mesg->ops = H5D_LOPS_CHUNK;
@@ -219,7 +219,7 @@ H5O_layout_decode(H5F_t *f, hid_t UNUSED dxpl_id, H5O_t UNUSED *open_oh,
HGOTO_ERROR(H5E_OHDR, H5E_CANTLOAD, NULL, "dimensionality is too large")
/* B-tree address */
- H5F_addr_decode(f, &p, &(mesg->store.u.chunk.u.btree.addr));
+ H5F_addr_decode(f, &p, &(mesg->store.u.chunk.idx_addr));
/* Chunk dimensions */
for(u = 0; u < mesg->u.chunk.ndims; u++)
@@ -332,7 +332,7 @@ H5O_layout_encode(H5F_t *f, hbool_t UNUSED disable_shared, uint8_t *p, const voi
*p++ = (uint8_t)mesg->u.chunk.ndims;
/* B-tree address */
- H5F_addr_encode(f, &p, mesg->store.u.chunk.u.btree.addr);
+ H5F_addr_encode(f, &p, mesg->store.u.chunk.idx_addr);
/* Dimension sizes */
for(u = 0; u < mesg->u.chunk.ndims; u++)
@@ -705,7 +705,7 @@ H5O_layout_debug(H5F_t UNUSED *f, hid_t UNUSED dxpl_id, const void *_mesg,
HDfprintf(stream, "%*s%-*s %s\n", indent, "", fwidth,
"Index Type:", "v1 B-tree");
HDfprintf(stream, "%*s%-*s %a\n", indent, "", fwidth,
- "B-tree address:", mesg->store.u.chunk.u.btree.addr);
+ "B-tree address:", mesg->store.u.chunk.idx_addr);
break;
default: