summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJames Laird <jlaird@hdfgroup.org>2006-12-03 15:57:43 (GMT)
committerJames Laird <jlaird@hdfgroup.org>2006-12-03 15:57:43 (GMT)
commit786af4b8d7f0e12e58bc7f1ab1ef0928cae9bd17 (patch)
treeb5c4505f24a7bae1f6c609390589d893b659f1f6 /test
parent9f39e59d913b10429bc64fb0497cfaa02d256c51 (diff)
downloadhdf5-786af4b8d7f0e12e58bc7f1ab1ef0928cae9bd17.zip
hdf5-786af4b8d7f0e12e58bc7f1ab1ef0928cae9bd17.tar.gz
hdf5-786af4b8d7f0e12e58bc7f1ab1ef0928cae9bd17.tar.bz2
[svn-r13013] Cleaned up some mismatched types in test/tsohm.c that were causing
errors on tg-login3. Tested on tg-login3.
Diffstat (limited to 'test')
-rw-r--r--test/tsohm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/tsohm.c b/test/tsohm.c
index 482b4af..e82ddb6 100644
--- a/test/tsohm.c
+++ b/test/tsohm.c
@@ -150,11 +150,11 @@ typedef struct size2_helper_struct {
****************************************************************/
static void check_fcpl_values(hid_t fcpl_id, const unsigned nindexes_in,
const unsigned *flags_in, const unsigned *minsizes_in,
- size_t l2b, size_t b2l)
+ unsigned l2b, unsigned b2l)
{
unsigned num_indexes;
unsigned index_flags, min_mesg_size;
- size_t list_size, btree_size;
+ unsigned list_size, btree_size;
unsigned x;
herr_t ret;
@@ -169,7 +169,7 @@ static void check_fcpl_values(hid_t fcpl_id, const unsigned nindexes_in,
ret = H5Pget_shared_mesg_index(fcpl_id, x, &index_flags, &min_mesg_size);
CHECK_I(ret, "H5Pget_shared_mesg_index");
VERIFY(index_flags, flags_in[x-1], "H5Pget_shared_mesg_index");
- /* JAMES: check min_mesg_size here */
+ VERIFY(min_mesg_size, minsizes_in[x-1], "H5Pget_shared_mesg_index");
}
/* Check list-to-btree and btree-to-list values */
@@ -377,7 +377,7 @@ make_dtype_1()
if(H5Tinsert(dtype1_id,"i1",HOFFSET(struct dtype1_struct,i1),H5T_NATIVE_INT)<0) TEST_ERROR
str_id = H5Tcopy(H5T_C_S1);
- if(H5Tset_size(str_id,10)<0) TEST_ERROR
+ if(H5Tset_size(str_id,(size_t) 10)<0) TEST_ERROR
if(H5Tinsert(dtype1_id,"vl_string",HOFFSET(dtype1_struct,str),str_id)<0) TEST_ERROR
if(H5Tinsert(dtype1_id,"i2",HOFFSET(struct dtype1_struct,i2),H5T_NATIVE_INT)<0) TEST_ERROR