diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2009-04-24 20:39:00 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2009-04-24 20:39:00 (GMT) |
commit | 8dd1e72365158f9b82c624fa7fdd6340849111ab (patch) | |
tree | 0b7a585a2c23671f108a144c3243af4050b0277d /examples/h5_shared_mesg.c | |
parent | d7d8cf1159fb819a544ac7aa46ee9b30b4a2c50b (diff) | |
download | hdf5-8dd1e72365158f9b82c624fa7fdd6340849111ab.zip hdf5-8dd1e72365158f9b82c624fa7fdd6340849111ab.tar.gz hdf5-8dd1e72365158f9b82c624fa7fdd6340849111ab.tar.bz2 |
[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)
Diffstat (limited to 'examples/h5_shared_mesg.c')
-rw-r--r-- | examples/h5_shared_mesg.c | 4 |
1 files 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; |