summaryrefslogtreecommitdiffstats
path: root/src/H5HFhdr.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2006-11-27 21:08:29 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2006-11-27 21:08:29 (GMT)
commit03c994ee5921d46c7332b494844e55432f7bde31 (patch)
treeb6e998db33afc3ecbcb20765c08396825c72e342 /src/H5HFhdr.c
parente40fa7aa3929e24934463562ed74859a6ebb5ddb (diff)
downloadhdf5-03c994ee5921d46c7332b494844e55432f7bde31.zip
hdf5-03c994ee5921d46c7332b494844e55432f7bde31.tar.gz
hdf5-03c994ee5921d46c7332b494844e55432f7bde31.tar.bz2
[svn-r12987] Description:
Clear up some confusion for the internal H5V_log2_gen() routine, so it always takes a 64-bit value as a parameter. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
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 a02e8ed..ab9d7bc 100644
--- a/src/H5HFhdr.c
+++ b/src/H5HFhdr.c
@@ -224,7 +224,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((hsize_t)hdr->max_man_size) + 7) / 8));
+ ((H5V_log2_gen((uint64_t)hdr->max_man_size) + 7) / 8));
done:
FUNC_LEAVE_NOAPI(ret_value)