diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2006-03-07 03:26:31 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2006-03-07 03:26:31 (GMT) |
commit | 5f59c68e7f8c2c6ad350646165616323650ae2ac (patch) | |
tree | 1e108173f0a15978731f6c9897f78bff715bb6cc /src/H5HFint.c | |
parent | 9e8c16d83cca2042885855fcfd535ea21897ff94 (diff) | |
download | hdf5-5f59c68e7f8c2c6ad350646165616323650ae2ac.zip hdf5-5f59c68e7f8c2c6ad350646165616323650ae2ac.tar.gz hdf5-5f59c68e7f8c2c6ad350646165616323650ae2ac.tar.bz2 |
[svn-r12017] Purpose:
Bug fix
Description:
Correct problem with new log2(n) routine on 64-bit machines.
Solution:
Put some casts in to make certain that the values are computed as 32-bit
integers.
Platforms tested:
Linux 2.4 (mir) - 64-bit
Diffstat (limited to 'src/H5HFint.c')
-rw-r--r-- | src/H5HFint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5HFint.c b/src/H5HFint.c index cff06f4..61c4daf 100644 --- a/src/H5HFint.c +++ b/src/H5HFint.c @@ -313,7 +313,7 @@ HDfprintf(stderr, "%s: size = %Zu\n", FUNC, size); /* Check if this is the first object in the heap */ if(shared->next_man_block == 0) { /* Check if the object can fit in a direct block of the starting block size */ -#ifdef QAK +#ifndef QAK HDfprintf(stderr, "%s: H5HF_MAN_ABS_DIRECT_OVERHEAD_SIZE = %u\n", FUNC, H5HF_MAN_ABS_DIRECT_OVERHEAD_SIZE(shared, shared->man_dtable_info.cparam.start_block_size)); HDfprintf(stderr, "%s: H5HF_MAN_ABS_DIRECT_OBJ_PREFIX_LEN_SIZE = %u\n", FUNC, H5HF_MAN_ABS_DIRECT_OBJ_PREFIX_LEN_SIZE(shared, shared->man_dtable_info.cparam.start_block_size)); #endif /* QAK */ |