summaryrefslogtreecommitdiffstats
path: root/src/H5Tconv.c
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1998-07-08 21:18:18 (GMT)
committerRobb Matzke <matzke@llnl.gov>1998-07-08 21:18:18 (GMT)
commit5f554bcced24f97371c34c36bb83eea921e2a85b (patch)
tree2ce1160aad30f3732f0e9d5504e5ac1fe0768dca /src/H5Tconv.c
parent44d5c8823eb4370ff70bf7ed56c8eae7404d222c (diff)
downloadhdf5-5f554bcced24f97371c34c36bb83eea921e2a85b.zip
hdf5-5f554bcced24f97371c34c36bb83eea921e2a85b.tar.gz
hdf5-5f554bcced24f97371c34c36bb83eea921e2a85b.tar.bz2
[svn-r473] Changes since 19980708
---------------------- ./src/H5Fistore.c ./src/H5S.c Fixed places where `herr_t' functions returned NULL for failure: H5F_istore_get_addr() and printf(?!?) (probably because a printf() was in the first column :-/ so I don't know what function it really was that I fixed), and H5S_extent_copy(). ./src/H5Fprivate.h Added declarations for H5F_istore_get_addr() and H5F_istore_allocate(). ./src/H5S.c ./src/H5Sprivate.h Split H5Sset_extent_simple() into H5S_set_extent_simple() and replaced calls to the API function with calls to the internal function. Changed calls to H5Screate() to H5S_create() and H5Sclose() to H5S_close(). ./src/H5Shyper.c ./src/H5Spoint.c Removed unused labels and variable. ./src/H5T.c ./src/H5Tconv.c Changed calls to H5Tfind() to H5T_find(). ./src/H5TB.c Split function return type onto a separate line for five functions and added API tracing calls.
Diffstat (limited to 'src/H5Tconv.c')
-rw-r--r--src/H5Tconv.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/H5Tconv.c b/src/H5Tconv.c
index 966e910..c940474 100644
--- a/src/H5Tconv.c
+++ b/src/H5Tconv.c
@@ -328,9 +328,10 @@ H5T_conv_struct_init (H5T_t *src, H5T_t *dst, H5T_cdata_t *cdata)
for (i=0; i<src->u.compnd.nmembs; i++) {
if (priv->src2dst[i]>=0) {
- H5T_conv_t tconv_func = H5Tfind (priv->src_memb_id[src2dst[i]],
- priv->dst_memb_id[src2dst[i]],
- priv->memb_cdata+src2dst[i]);
+ H5T_conv_t tconv_func;
+ tconv_func = H5T_find(src->u.compnd.memb[i].type,
+ dst->u.compnd.memb[src2dst[i]].type,
+ H5T_BKG_NO, priv->memb_cdata+src2dst[i]);
if (!tconv_func) {
H5MM_xfree (priv->src2dst);
H5MM_xfree (priv->src_memb_id);