diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 1999-08-25 20:31:12 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 1999-08-25 20:31:12 (GMT) |
commit | a92c1a7f2cd831a866dd81fe69e0034bfa9338f8 (patch) | |
tree | d6525f78d89331a3c2cdceaefdf03c301551f635 | |
parent | bf54eff7ffae82e36f803f8cc39bd0623c8696ef (diff) | |
download | hdf5-a92c1a7f2cd831a866dd81fe69e0034bfa9338f8.zip hdf5-a92c1a7f2cd831a866dd81fe69e0034bfa9338f8.tar.gz hdf5-a92c1a7f2cd831a866dd81fe69e0034bfa9338f8.tar.bz2 |
[svn-r1597] Extended space for string read in.
-rw-r--r-- | examples/h5_attribute.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/h5_attribute.c b/examples/h5_attribute.c index 23632ca..fd41b0d 100644 --- a/examples/h5_attribute.c +++ b/examples/h5_attribute.c @@ -174,7 +174,7 @@ main (void) */ attr = H5Aopen_idx(dataset, 2); atype = H5Tcopy(H5T_C_S1); - H5Tset_size(atype, 4); + H5Tset_size(atype, 5); ret = H5Aread(attr, atype, string_out); printf("The value of the attribute with the index 2 is %s \n", string_out); ret = H5Aclose(attr); |