summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2008-10-07 04:10:20 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2008-10-07 04:10:20 (GMT)
commit504c67846e6a4cc5706403bf21a9ae4f07aae7b4 (patch)
tree197fbf496647bbf0db81332f7b4c8f231f247128
parent7d95527f306abb71d54e19d1deb435c5038b98b4 (diff)
downloadhdf5-504c67846e6a4cc5706403bf21a9ae4f07aae7b4.zip
hdf5-504c67846e6a4cc5706403bf21a9ae4f07aae7b4.tar.gz
hdf5-504c67846e6a4cc5706403bf21a9ae4f07aae7b4.tar.bz2
[svn-r15798] Description:
Change H5Tcommit() call to H5Tcommit2() call, so that library builds with the default API set to v16 work. Tested on: Linux/64 2.4 (smirom) w/default API set to v16
-rw-r--r--test/dtypes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dtypes.c b/test/dtypes.c
index f58dc90..f5bc930 100644
--- a/test/dtypes.c
+++ b/test/dtypes.c
@@ -2977,7 +2977,7 @@ test_compound_16(void)
/* Copy and commit integer datatype */
if((int_id = H5Tcopy(H5T_NATIVE_INT)) < 0) TEST_ERROR
- if(H5Tcommit (file, "int", int_id, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT) < 0) TEST_ERROR
+ if(H5Tcommit2(file, "int", int_id, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT) < 0) TEST_ERROR
/* Create file compound datatype */
if((cmpd_f_tid = H5Tcreate(H5T_COMPOUND, 2 * sizeof(int) + 2)) < 0) TEST_ERROR