diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2004-10-27 17:07:54 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2004-10-27 17:07:54 (GMT) |
commit | 603fa2e6c92cf1aafc2bb51daa1b89a1f66825ed (patch) | |
tree | ded5b2e10e240dc86f5c227443041343d1ef4f28 /src/H5Tpad.c | |
parent | b3e569c4bc31fbe0aa880da8935769fbff615425 (diff) | |
download | hdf5-603fa2e6c92cf1aafc2bb51daa1b89a1f66825ed.zip hdf5-603fa2e6c92cf1aafc2bb51daa1b89a1f66825ed.tar.gz hdf5-603fa2e6c92cf1aafc2bb51daa1b89a1f66825ed.tar.bz2 |
[svn-r9470] Purpose:
Code cleanup
Description:
Clear up some inconsistencies, inefficiencies and possible errors between
the release and development branch.
Platforms tested:
FreeBSD 4.10 (sleipnir) w/parallel
Solaris 2.7 (arabica)
Linux 2.4 (heping) w/C++ & FORTRAN
Diffstat (limited to 'src/H5Tpad.c')
-rw-r--r-- | src/H5Tpad.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Tpad.c b/src/H5Tpad.c index 0f9085c..4c84c7e4 100644 --- a/src/H5Tpad.c +++ b/src/H5Tpad.c @@ -90,7 +90,7 @@ H5Tget_pad(hid_t type_id, H5T_pad_t *lsb/*out*/, H5T_pad_t *msb/*out*/) HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "operation not defined for specified data type"); /* Get values */ - assert(H5T_is_atomic(dt)); + assert(H5T_IS_ATOMIC(dt->shared)); if (lsb) *lsb = dt->shared->u.atomic.lsb_pad; if (msb) @@ -141,7 +141,7 @@ H5Tset_pad(hid_t type_id, H5T_pad_t lsb, H5T_pad_t msb) HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "operation not defined for specified data type"); /* Commit */ - assert(H5T_is_atomic(dt)); + assert(H5T_IS_ATOMIC(dt->shared)); dt->shared->u.atomic.lsb_pad = lsb; dt->shared->u.atomic.msb_pad = msb; |