summaryrefslogtreecommitdiffstats
path: root/src/H5Fsuper_cache.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2009-11-13 23:56:45 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2009-11-13 23:56:45 (GMT)
commit65f2fdd4472576dcea6e74b89d7089bf479d47ec (patch)
tree88122003377a84f321caf787662a56cc9fc466ca /src/H5Fsuper_cache.c
parent49ef13ea740b940d410c3091d180b54985e701a7 (diff)
downloadhdf5-65f2fdd4472576dcea6e74b89d7089bf479d47ec.zip
hdf5-65f2fdd4472576dcea6e74b89d7089bf479d47ec.tar.gz
hdf5-65f2fdd4472576dcea6e74b89d7089bf479d47ec.tar.bz2
[svn-r17886] Description:
Bring r17885 from trunk to 1.8 branch: Convert 'huge' fractal heap object management code to use refactored v2 B-tree routines. Also, switch internal representation of 'sizeof_addr' and 'sizeof_size' in files to be uint8_t's instead of size_t's, since they are stored in single bytes in the file format. Various other minor compiler warning cleanups and error call tweaks. Tested on: FreeBSD/32 6.3 (duty) in debug mode (h5committested on trunk
Diffstat (limited to 'src/H5Fsuper_cache.c')
-rw-r--r--src/H5Fsuper_cache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Fsuper_cache.c b/src/H5Fsuper_cache.c
index 4dd3c0d..6e23351 100644
--- a/src/H5Fsuper_cache.c
+++ b/src/H5Fsuper_cache.c
@@ -120,8 +120,8 @@ H5F_sblock_load(H5F_t *f, hid_t dxpl_id, haddr_t addr, const void UNUSED *udata1
H5FD_t *lf; /* file driver part of `shared' */
haddr_t stored_eoa; /*relative end-of-addr in file */
haddr_t eof; /*end of file address */
- size_t sizeof_addr; /* Size of offsets in the file (in bytes) */
- size_t sizeof_size; /* Size of lengths in the file (in bytes) */
+ uint8_t sizeof_addr; /* Size of offsets in the file (in bytes) */
+ uint8_t sizeof_size; /* Size of lengths in the file (in bytes) */
const size_t fixed_size = H5F_SUPERBLOCK_FIXED_SIZE; /*fixed sizeof superblock */
size_t variable_size; /*variable sizeof superblock */
uint8_t *p; /* Temporary pointer into encoding buffer */