summaryrefslogtreecommitdiffstats
path: root/src/H5Tnative.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2005-03-20 01:32:35 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2005-03-20 01:32:35 (GMT)
commit9dad79e3f89fe69857cae152fbcba52b08b19dfd (patch)
tree3742794b688189a6001ffc3bb367336814ca2786 /src/H5Tnative.c
parentbb4d9ebc552ca5e8a19b86d961363e6ac4abc6a6 (diff)
downloadhdf5-9dad79e3f89fe69857cae152fbcba52b08b19dfd.zip
hdf5-9dad79e3f89fe69857cae152fbcba52b08b19dfd.tar.gz
hdf5-9dad79e3f89fe69857cae152fbcba52b08b19dfd.tar.bz2
[svn-r10238] Purpose:
Optimization Description: Speed up I/O on enumerated datatypes (including those nested in compound datatypes, arrays, etc.) if the destination datatype is a proper superset of the source datatype. Solution: Detect the situation and treat as no-op datatype conversion. Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
Diffstat (limited to 'src/H5Tnative.c')
-rw-r--r--src/H5Tnative.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Tnative.c b/src/H5Tnative.c
index 686e1e3..ecae777 100644
--- a/src/H5Tnative.c
+++ b/src/H5Tnative.c
@@ -238,7 +238,7 @@ H5T_get_native_type(H5T_t *dtype, H5T_direction_t direction, size_t *struct_alig
/* Decide if the data type is object or dataset region reference. */
if(NULL==(dt=H5I_object(H5T_STD_REF_OBJ_g)))
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, NULL, "not a data type")
- not_equal = H5T_cmp(ret_value, dt);
+ not_equal = H5T_cmp(ret_value, dt, FALSE);
/* Update size, offset and compound alignment for parent. */
if(!not_equal) {