diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2010-02-18 17:26:38 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2010-02-18 17:26:38 (GMT) |
commit | 6b9ddd65980835c2bccf7458952f6c51e550bfdb (patch) | |
tree | 78c0d2f6c2821d74ca4d7babe7d6b9c07a0ab734 /src/H5Oprivate.h | |
parent | 95223419fbb4232ba0b2cc42b3f7210db9ae4915 (diff) | |
download | hdf5-6b9ddd65980835c2bccf7458952f6c51e550bfdb.zip hdf5-6b9ddd65980835c2bccf7458952f6c51e550bfdb.tar.gz hdf5-6b9ddd65980835c2bccf7458952f6c51e550bfdb.tar.bz2 |
[svn-r18276] Description:
Bring r18275 from trunk to 1.8 branch:
Remove incorrect encoding of fractal heap IDs for dense attribute storage
and dense shared object header message storage.
Tested on:
Mac OS X/32 10.6.2 (amazon) w/debug & production
(h5committested on trunk)
Diffstat (limited to 'src/H5Oprivate.h')
-rw-r--r-- | src/H5Oprivate.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/H5Oprivate.h b/src/H5Oprivate.h index 07d55ac..f16f6dc 100644 --- a/src/H5Oprivate.h +++ b/src/H5Oprivate.h @@ -119,7 +119,10 @@ typedef struct H5O_t H5O_t; /* Fractal heap ID type for shared message & attribute heap IDs. */ -typedef uint64_t H5O_fheap_id_t; +typedef union { + uint8_t id[H5O_FHEAP_ID_LEN]; /* Buffer to hold ID, for encoding/decoding */ + uint64_t val; /* Value, for quick comparisons */ +} H5O_fheap_id_t; /* The object location information for an object */ typedef struct H5O_loc_t { |