diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2006-11-27 21:08:29 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2006-11-27 21:08:29 (GMT) |
commit | 03c994ee5921d46c7332b494844e55432f7bde31 (patch) | |
tree | b6e998db33afc3ecbcb20765c08396825c72e342 /src/H5HFdblock.c | |
parent | e40fa7aa3929e24934463562ed74859a6ebb5ddb (diff) | |
download | hdf5-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/H5HFdblock.c')
-rw-r--r-- | src/H5HFdblock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5HFdblock.c b/src/H5HFdblock.c index c9322c4..1105590 100644 --- a/src/H5HFdblock.c +++ b/src/H5HFdblock.c @@ -375,7 +375,7 @@ HDfprintf(stderr, "%s: request = %Zu\n", FUNC, request); if(request < hdr->man_dtable.cparam.start_block_size) min_dblock_size = hdr->man_dtable.cparam.start_block_size; else { - min_dblock_size = ((size_t)1) << (1 + H5V_log2_gen((hsize_t)request)); + min_dblock_size = ((size_t)1) << (1 + H5V_log2_gen((uint64_t)request)); HDassert(min_dblock_size <= hdr->man_dtable.cparam.max_direct_size); } /* end else */ |