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