summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Laird <jlaird@hdfgroup.org>2006-11-20 16:12:45 (GMT)
committerJames Laird <jlaird@hdfgroup.org>2006-11-20 16:12:45 (GMT)
commit8d9964cf02cd13318029856b3becb70b8bb01f69 (patch)
tree46d5d368aa269d5acab5c2d6d6485f7eb25f02f0
parenta56c3f0bc49c401213917a93742255eddb13c5f6 (diff)
downloadhdf5-8d9964cf02cd13318029856b3becb70b8bb01f69.zip
hdf5-8d9964cf02cd13318029856b3becb70b8bb01f69.tar.gz
hdf5-8d9964cf02cd13318029856b3becb70b8bb01f69.tar.bz2
[svn-r12951] Fixed error on copper in 64-bit. Was using size_t when I should have been
using unsigned. Tested on copper; minor change. Currently testing on juniper.
-rw-r--r--src/H5Pfcpl.c4
-rw-r--r--test/tsohm.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/H5Pfcpl.c b/src/H5Pfcpl.c
index 57c10bd..97c468f 100644
--- a/src/H5Pfcpl.c
+++ b/src/H5Pfcpl.c
@@ -161,8 +161,8 @@ H5P_fcrt_reg_prop(H5P_genclass_t *pclass)
unsigned num_sohm_indexes = H5F_CRT_SHMSG_NINDEXES_DEF;
unsigned sohm_index_flags[H5SM_MAX_NUM_INDEXES] = H5F_CRT_SHMSG_INDEX_TYPES_DEF;
unsigned sohm_index_minsizes[H5SM_MAX_NUM_INDEXES] = H5F_CRT_SHMSG_INDEX_MINSIZE_DEF;
- size_t sohm_list_max = H5F_CRT_SHMSG_LIST_MAX_DEF;
- size_t sohm_btree_min = H5F_CRT_SHMSG_BTREE_MIN_DEF;
+ unsigned sohm_list_max = H5F_CRT_SHMSG_LIST_MAX_DEF;
+ unsigned sohm_btree_min = H5F_CRT_SHMSG_BTREE_MIN_DEF;
herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_NOAPI_NOINIT(H5P_fcrt_reg_prop)
diff --git a/test/tsohm.c b/test/tsohm.c
index d158ff0..c1dcbc5 100644
--- a/test/tsohm.c
+++ b/test/tsohm.c
@@ -78,9 +78,9 @@ static void check_fcpl_values(hid_t fcpl_id, const unsigned nindexes_in,
/* Check list-to-btree and btree-to-list values */
ret = H5Pget_shared_mesg_phase_change(fcpl_id, &list_size, &btree_size);
- CHECK_I(ret, "H5Pset_shared_mesg_phase_change");
- VERIFY(list_size, l2b, "H5Pset_shared_mesg_phase_change");
- VERIFY(btree_size, b2l, "H5Pset_shared_mesg_phase_change");
+ CHECK_I(ret, "H5Pget_shared_mesg_phase_change");
+ VERIFY(list_size, l2b, "H5Pget_shared_mesg_phase_change");
+ VERIFY(btree_size, b2l, "H5Pget_shared_mesg_phase_change");
}