diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2006-10-16 14:46:00 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2006-10-16 14:46:00 (GMT) |
commit | 9848ea0387c08ecffa4e97c5d880b4253e059dbc (patch) | |
tree | 4a4f3ca1e5e9a8893b9b52e2b8fc30f0685152f0 /src/H5Opline.c | |
parent | 10e8a68a0c380cc58d831e95271ccc8ce658ad20 (diff) | |
download | hdf5-9848ea0387c08ecffa4e97c5d880b4253e059dbc.zip hdf5-9848ea0387c08ecffa4e97c5d880b4253e059dbc.tar.gz hdf5-9848ea0387c08ecffa4e97c5d880b4253e059dbc.tar.bz2 |
[svn-r12761] Description:
Refactor object header macros, in preparation for updating the format.
Tested on:
Mac OS/PPC 10.4.8 (amazon)
FreeBSD/32 4.11 (sleipnir) w/thread-safe
Linux/32 2.4 (heping) w/C++ & FORTRAN
Linux/64 2.4 (mir) w/1.6 compat & build-all
Diffstat (limited to 'src/H5Opline.c')
-rw-r--r-- | src/H5Opline.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Opline.c b/src/H5Opline.c index 5b0c065..0a6bab0 100644 --- a/src/H5Opline.c +++ b/src/H5Opline.c @@ -211,7 +211,7 @@ H5O_pline_encode (H5F_t UNUSED *f, uint8_t *p/*out*/, const void *mesg) /* Encode the filter */ UINT16ENCODE(p, pline->filter[i].id); - UINT16ENCODE(p, H5O_ALIGN(name_length)); + UINT16ENCODE(p, H5O_ALIGN_OLD(name_length)); UINT16ENCODE(p, pline->filter[i].flags); UINT16ENCODE(p, pline->filter[i].cd_nelmts); if (name_length>0) { @@ -350,7 +350,7 @@ H5O_pline_size (const H5F_t UNUSED *f, const void *mesg) 2 + /*name length */ 2 + /*flags */ 2 + /*number of client data values */ - H5O_ALIGN(name_len); /*length of the filter name */ + H5O_ALIGN_OLD(name_len); /*length of the filter name */ ret_value += pline->filter[i].cd_nelmts * 4; if (pline->filter[i].cd_nelmts % 2) |