summaryrefslogtreecommitdiffstats
path: root/test/dtypes.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2008-10-07 04:10:48 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2008-10-07 04:10:48 (GMT)
commitb256db872d5ce4f81c6486b60c4e29e8122b67c2 (patch)
tree8dfaedb967a9b554d91427a3a1c3b90bcfe9d1bf /test/dtypes.c
parenta858608a0aa4ff6b23e35e210da3e7b2d461df51 (diff)
downloadhdf5-b256db872d5ce4f81c6486b60c4e29e8122b67c2.zip
hdf5-b256db872d5ce4f81c6486b60c4e29e8122b67c2.tar.gz
hdf5-b256db872d5ce4f81c6486b60c4e29e8122b67c2.tar.bz2
[svn-r15799] 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
Diffstat (limited to 'test/dtypes.c')
-rw-r--r--test/dtypes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dtypes.c b/test/dtypes.c
index 74cceff..3d0ac26 100644
--- a/test/dtypes.c
+++ b/test/dtypes.c
@@ -2978,7 +2978,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