summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/dtypes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dtypes.c b/test/dtypes.c
index 9b7e674..ed1b049 100644
--- a/test/dtypes.c
+++ b/test/dtypes.c
@@ -1532,7 +1532,7 @@ test_compound_8(void)
* Test H5Tpack for array type of nested compound type
*/
/* Create an array type of compound type */
- if((arr_tid = H5Tarray_create(tid2_copy, 1, dims)) < 0) {
+ if((arr_tid = H5Tarray_create2(tid2_copy, 1, dims)) < 0) {
H5_FAILED(); AT();
printf("Can't create an array datatype\n");
goto error;