diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2009-11-13 23:56:45 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2009-11-13 23:56:45 (GMT) |
commit | 65f2fdd4472576dcea6e74b89d7089bf479d47ec (patch) | |
tree | 88122003377a84f321caf787662a56cc9fc466ca /src/H5B2pkg.h | |
parent | 49ef13ea740b940d410c3091d180b54985e701a7 (diff) | |
download | hdf5-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/H5B2pkg.h')
-rw-r--r-- | src/H5B2pkg.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5B2pkg.h b/src/H5B2pkg.h index b8cea53..71e3ac5 100644 --- a/src/H5B2pkg.h +++ b/src/H5B2pkg.h @@ -160,8 +160,8 @@ typedef struct H5B2_hdr_t { size_t rc; /* Reference count of nodes using this header */ size_t file_rc; /* Reference count of files using this header */ hbool_t pending_delete; /* B-tree is pending deletion */ - size_t sizeof_size; /* Size of file sizes */ - size_t sizeof_addr; /* Size of file addresses */ + uint8_t sizeof_size; /* Size of file sizes */ + uint8_t sizeof_addr; /* Size of file addresses */ H5B2_remove_t remove_op; /* Callback operator for deleting B-tree */ void *remove_op_data;/* B-tree deletion callback's context */ const H5B2_class_t *cls; /* Class of B-tree client */ |