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/H5Tnative.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/H5Tnative.c')
-rw-r--r-- | src/H5Tnative.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Tnative.c b/src/H5Tnative.c index add84bf..992a2ab 100644 --- a/src/H5Tnative.c +++ b/src/H5Tnative.c @@ -201,7 +201,7 @@ H5T_get_native_type(H5T_t *dtype, H5T_direction_t direction, size_t *struct_alig if((ret_value=H5T_copy(dtype, H5T_COPY_TRANSIENT))==NULL) HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, NULL, "cannot retrieve float type"); - if(H5T_is_variable_str(dtype)) { + if(H5T_IS_VL_STRING(dtype->shared)) { /* Update size, offset and compound alignment for parent. */ if(H5T_cmp_offset(comp_size, offset, sizeof(char *), 1, H5T_POINTER_COMP_ALIGN_g, struct_align)<0) HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, NULL, "cannot compute compound offset"); |