summaryrefslogtreecommitdiffstats
path: root/src/H5HFhdr.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2006-08-07 18:18:17 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2006-08-07 18:18:17 (GMT)
commit80b1c44327f56c2e7edd75389e5b3b5a9b5ea833 (patch)
tree11965f139ce5aca89f6f0840d1b97a609d042946 /src/H5HFhdr.c
parent9a03ce6406817238a4c9b7fc77cc9fbeac8636e1 (diff)
downloadhdf5-80b1c44327f56c2e7edd75389e5b3b5a9b5ea833.zip
hdf5-80b1c44327f56c2e7edd75389e5b3b5a9b5ea833.tar.gz
hdf5-80b1c44327f56c2e7edd75389e5b3b5a9b5ea833.tar.bz2
[svn-r12550] Description:
Refactor fractal heap IDs to include "flag byte" as part of the ID. This byte will be used for the heap ID format version as well as flags to indicate whether the heap object is a "tiny"/normal/"huge" object (with storage mechanisms optimized for each type of object). Platforms tested: Linux/32 2.4 (chicago) Too minor to require h5committest
Diffstat (limited to 'src/H5HFhdr.c')
-rw-r--r--src/H5HFhdr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5HFhdr.c b/src/H5HFhdr.c
index f9083f8..3628bd8 100644
--- a/src/H5HFhdr.c
+++ b/src/H5HFhdr.c
@@ -225,7 +225,7 @@ H5HF_hdr_finish_init(H5HF_hdr_t *hdr)
/* Set the size of heap IDs */
hdr->heap_len_size = MIN(hdr->man_dtable.max_dir_blk_off_size,
((H5V_log2_gen((hsize_t)hdr->standalone_size) + 7) / 8));
- hdr->id_len = hdr->heap_off_size + hdr->heap_len_size;
+ hdr->id_len = H5HF_ID_SIZE(hdr);
/* Set the free space in direct blocks */
for(u = 0; u < hdr->man_dtable.max_root_rows; u++) {