From 8dd1e72365158f9b82c624fa7fdd6340849111ab Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Fri, 24 Apr 2009 15:39:00 -0500 Subject: [svn-r16858] Description: Tweak down the size of datatype created for dataset, so that the elements are a reasonable size and the dataset's size can fit into a 64-bit value for storing in the file. Tested on: FreeBSD/64 6.3 (liberty) (too minor for h5committest) --- examples/h5_shared_mesg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/h5_shared_mesg.c b/examples/h5_shared_mesg.c index a2edb38..0c7f2f0 100644 --- a/examples/h5_shared_mesg.c +++ b/examples/h5_shared_mesg.c @@ -261,9 +261,9 @@ create_standard_file(const char *filename, hid_t fcpl_id) * disk, so this type will be an array type rather than an atomic type. * However, any type can be shared. */ - temp_type_id = H5Tarray_create2(H5T_NATIVE_INT, 10, dims); + temp_type_id = H5Tarray_create2(H5T_NATIVE_INT, 2, dims); if(temp_type_id < 0) goto error; - type_id = H5Tarray_create2(temp_type_id, 10, dims); + type_id = H5Tarray_create2(temp_type_id, 2, dims); if(type_id < 0) goto error; ret = H5Tclose(temp_type_id); if(ret < 0) goto error; -- cgit v0.12