summaryrefslogtreecommitdiffstats
path: root/src/H5HFiblock.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/H5HFiblock.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/H5HFiblock.c')
-rw-r--r--src/H5HFiblock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5HFiblock.c b/src/H5HFiblock.c
index ac31933..1d2b8f7 100644
--- a/src/H5HFiblock.c
+++ b/src/H5HFiblock.c
@@ -736,7 +736,7 @@ HDfprintf(stderr, "%s: Reducing root indirect block\n", FUNC);
max_child_row = iblock->max_child / hdr->man_dtable.cparam.width;
/* Compute new # of rows in root indirect block */
- new_nrows = 1 << (1 + H5V_log2_gen((hsize_t)max_child_row));
+ new_nrows = 1 << (1 + H5V_log2_gen((uint64_t)max_child_row));
#ifdef QAK
HDfprintf(stderr, "%s: new_nrows = %u\n", FUNC, new_nrows);
HDfprintf(stderr, "%s: iblock->nrows = %u\n", FUNC, iblock->nrows);