summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1997-10-08 20:39:10 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1997-10-08 20:39:10 (GMT)
commit9eec50a465b79668c0515c4e890ce52f5787ef8d (patch)
treef504f487843043ce80cf6c3bea41d834800ca2a8 /test
parent8b66e90352aab1c3e7e2013a76c443be296367d8 (diff)
downloadhdf5-9eec50a465b79668c0515c4e890ce52f5787ef8d.zip
hdf5-9eec50a465b79668c0515c4e890ce52f5787ef8d.tar.gz
hdf5-9eec50a465b79668c0515c4e890ce52f5787ef8d.tar.bz2
[svn-r115] Corrected usage of H5Tsize function.
Diffstat (limited to 'test')
-rw-r--r--test/th5d.c2
-rw-r--r--test/th5t.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/test/th5d.c b/test/th5d.c
index 39e0f35..33d7b9e 100644
--- a/test/th5d.c
+++ b/test/th5d.c
@@ -224,7 +224,7 @@ static void test_h5d_basic_read(void)
CHECK(n,UFAIL,"H5Pnelem");
VERIFY(n,SPACE1_DIM1*SPACE1_DIM2*SPACE1_DIM3,"H5Pnelem");
- buf_size=H5Tsize(tid1,len,arch,BTRUE)*n;
+ buf_size=H5Tsize(tid1,BTRUE)*n;
buf=HDmalloc(buf_size);
ret=H5Dread(did1,H5P_SCALAR,buf);
CHECK(ret,FAIL,"H5Dread");
diff --git a/test/th5t.c b/test/th5t.c
index efed783..8c44bd2 100644
--- a/test/th5t.c
+++ b/test/th5t.c
@@ -69,7 +69,7 @@ static void test_h5t_basic(void)
ret=H5Tset_type(tid1,TYPE1_BASE,TYPE1_LEN,TYPE1_ARCH);
CHECK(ret,FAIL,"H5Tset_type");
- ret=H5Tsize(tid1,-1,-1,BTRUE);
+ ret=H5Tsize(tid1,BTRUE);
VERIFY(ret,TYPE1_LEN,"H5Tsize");
ret=H5Tis_atomic(tid1);
@@ -87,7 +87,7 @@ static void test_h5t_basic(void)
ret=H5Tset_type(tid2,TYPE2_BASE,TYPE2_LEN,TYPE2_ARCH);
CHECK(ret,FAIL,"H5Tset_type");
- ret=H5Tsize(tid2,-1,-1,BTRUE);
+ ret=H5Tsize(tid2,BTRUE);
VERIFY(ret,TYPE2_LEN,"H5Tsize");
ret=H5Tis_atomic(tid2);