summaryrefslogtreecommitdiffstats
path: root/test/dtypes.c
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2008-07-01 16:25:08 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2008-07-01 16:25:08 (GMT)
commitd238f0663c7f98aa9eda71085897d63a12fce5fd (patch)
tree4851d7d85175ef2f0e2fca20fcda41d6142d465e /test/dtypes.c
parent7447d790912bf60d9dd2d4c1792c6d7ff795e2c1 (diff)
downloadhdf5-d238f0663c7f98aa9eda71085897d63a12fce5fd.zip
hdf5-d238f0663c7f98aa9eda71085897d63a12fce5fd.tar.gz
hdf5-d238f0663c7f98aa9eda71085897d63a12fce5fd.tar.bz2
[svn-r15305] Changed H5Tcreate_array to H5Tcreate_array2 from last checkin for the bug fix for
H5Tpack. The problem was that H5Tpack didn't act correctly with nested compound datatype. Tested on smirom - simple change.
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 8a8c108..cf4c2ea 100644
--- a/test/dtypes.c
+++ b/test/dtypes.c
@@ -1533,7 +1533,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;