diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2006-09-05 21:32:59 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2006-09-05 21:32:59 (GMT) |
commit | 94a96a02d637bbb5f2c3e016a10313015971533c (patch) | |
tree | db5a97cba63c61f7efa7f8d2ecd741193f59e4fb /src/H5FSpkg.h | |
parent | 23b3a6a91b88e6cbc3474e83fba1e4eb62763126 (diff) | |
download | hdf5-94a96a02d637bbb5f2c3e016a10313015971533c.zip hdf5-94a96a02d637bbb5f2c3e016a10313015971533c.tar.gz hdf5-94a96a02d637bbb5f2c3e016a10313015971533c.tar.bz2 |
[svn-r12645] Description:
Enable the checksums on the free space tracker's metadata.
Clean up a few compiler warnings from 64-bit machines.
Tested:
Linux/32 2.6 (chicago)
Linux/64 2.6 (chicago2)
Diffstat (limited to 'src/H5FSpkg.h')
-rw-r--r-- | src/H5FSpkg.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/H5FSpkg.h b/src/H5FSpkg.h index 7478754..fa7faa4 100644 --- a/src/H5FSpkg.h +++ b/src/H5FSpkg.h @@ -48,12 +48,14 @@ #define H5FS_HDR_MAGIC "FSHD" /* Header */ #define H5FS_SINFO_MAGIC "FSSE" /* Serialized sections */ +/* Size of checksum information (on disk) */ +#define H5FS_SIZEOF_CHKSUM 4 + /* "Standard" size of prefix information for free space metadata */ #define H5FS_METADATA_PREFIX_SIZE ( \ - 4 /* Signature */ \ + H5FS_SIZEOF_MAGIC /* Signature */ \ + 1 /* Version */ \ - + 1 /* Metadata flags */ \ - + 4 /* Metadata checksum */ \ + + H5FS_SIZEOF_CHKSUM /* Metadata checksum */ \ ) /* Size of the fractal heap header on disk */ |