diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2009-07-30 02:55:33 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2009-07-30 02:55:33 (GMT) |
commit | 238950487f6348544b64fda3143479c6ab589fde (patch) | |
tree | e2985b88137935511547333d9a9c2c25d74c57e5 /src/H5Oattr.c | |
parent | 7c22743e8eaa5e5d2ffc8b0db7518ed6c5be40ee (diff) | |
download | hdf5-238950487f6348544b64fda3143479c6ab589fde.zip hdf5-238950487f6348544b64fda3143479c6ab589fde.tar.gz hdf5-238950487f6348544b64fda3143479c6ab589fde.tar.bz2 |
[svn-r17270] Description:
Bring r17265:17269 from trunk to revise_chunks branch
Tested on
FreeBSD/32 6.3 (duty)
(h5committest not required on this branch)
Diffstat (limited to 'src/H5Oattr.c')
-rw-r--r-- | src/H5Oattr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Oattr.c b/src/H5Oattr.c index c474681..971c514 100644 --- a/src/H5Oattr.c +++ b/src/H5Oattr.c @@ -171,7 +171,7 @@ H5O_attr_decode(H5F_t *f, hid_t dxpl_id, H5O_t *open_oh, unsigned UNUSED mesg_fl * as well as some reserved bytes. */ if(attr->shared->version >= H5O_ATTR_VERSION_3) - attr->shared->encoding = *p++; + attr->shared->encoding = (H5T_cset_t)*p++; /* Decode and store the name */ if(NULL == (attr->shared->name = H5MM_strdup((const char *)p))) |