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/H5Tprecis.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/H5Tprecis.c')
-rw-r--r-- | src/H5Tprecis.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5Tprecis.c b/src/H5Tprecis.c index 02c33cf..33a71e0 100644 --- a/src/H5Tprecis.c +++ b/src/H5Tprecis.c @@ -97,7 +97,7 @@ H5Tget_precision(hid_t type_id) HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, 0, "operation not defined for specified data type"); /* Precision */ - assert(H5T_is_atomic(dt)); + assert(H5T_IS_ATOMIC(dt->shared)); ret_value = dt->shared->u.atomic.prec; done: @@ -221,7 +221,7 @@ H5T_set_precision(H5T_t *dt, size_t prec) else if(dt->shared->type!=H5T_VLEN) dt->shared->size = dt->shared->parent->shared->size; } else { - if (H5T_is_atomic(dt)) { + if (H5T_IS_ATOMIC(dt->shared)) { /* Adjust the offset and size */ offset = dt->shared->u.atomic.offset; size = dt->shared->size; @@ -259,7 +259,7 @@ H5T_set_precision(H5T_t *dt, size_t prec) /* Commit */ dt->shared->size = size; - if (H5T_is_atomic(dt)) { + if (H5T_IS_ATOMIC(dt->shared)) { dt->shared->u.atomic.offset = offset; dt->shared->u.atomic.prec = prec; } |