diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2008-03-13 21:44:18 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2008-03-13 21:44:18 (GMT) |
commit | f331bba32c0544567dce3bdeea53211e9777b1fe (patch) | |
tree | 98352ad8795dd63a661585c00e7bb300d8277e3b /src/H5HFhdr.c | |
parent | 4982e156232a6f2b5f6c66bd31d7c997a5b606bc (diff) | |
download | hdf5-f331bba32c0544567dce3bdeea53211e9777b1fe.zip hdf5-f331bba32c0544567dce3bdeea53211e9777b1fe.tar.gz hdf5-f331bba32c0544567dce3bdeea53211e9777b1fe.tar.bz2 |
[svn-r14737] Description:
Fix bug which would incorrectly encode the member offsets for compound
datatypes whose size was between 256 & 511 bytes, when the "use the latest
format" feature was enabled.
Tested on:
Mac OS X/32 10.5.2 (amazon) w/debug
FreeBSD/32 6.2 (duty) w/production
Diffstat (limited to 'src/H5HFhdr.c')
-rw-r--r-- | src/H5HFhdr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5HFhdr.c b/src/H5HFhdr.c index c1b856b..60d5002 100644 --- a/src/H5HFhdr.c +++ b/src/H5HFhdr.c @@ -225,7 +225,7 @@ H5HF_hdr_finish_init_phase1(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((uint64_t)hdr->max_man_size) + 7) / 8)); + H5V_limit_enc_size((uint64_t)hdr->max_man_size)); done: FUNC_LEAVE_NOAPI(ret_value) |