summaryrefslogtreecommitdiffstats
path: root/src/H5Oattr.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2009-07-30 00:17:17 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2009-07-30 00:17:17 (GMT)
commit981ba55190b978b3e67223df0a7049c65c826a1a (patch)
treeb34030397f3a227d6fd2aa90b0f57b26f1cab554 /src/H5Oattr.c
parent03d1221bd821c397bb4a2222e3c7b49fa93fd96e (diff)
downloadhdf5-981ba55190b978b3e67223df0a7049c65c826a1a.zip
hdf5-981ba55190b978b3e67223df0a7049c65c826a1a.tar.gz
hdf5-981ba55190b978b3e67223df0a7049c65c826a1a.tar.bz2
[svn-r17266] Description:
Clean up various compiler warnings from IRIX64 build Tested on: Mac OS X/32 (amazon) debug & production (yes, I know it's not an IRIX64 system :-) Too minor to require h5committest
Diffstat (limited to 'src/H5Oattr.c')
-rw-r--r--src/H5Oattr.c2
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)))