From 504c67846e6a4cc5706403bf21a9ae4f07aae7b4 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Mon, 6 Oct 2008 23:10:20 -0500 Subject: [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 --- test/dtypes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v0.12