diff options
author | Kimmy Mu <kmu@hdfgroup.org> | 2020-01-06 18:17:10 (GMT) |
---|---|---|
committer | kmu <kmu@hdfgroup.org> | 2020-01-09 22:15:38 (GMT) |
commit | de28f691ba42e295341ed1098caa1f3b980cc4eb (patch) | |
tree | 52a68c98d4e115da56c27a9310d7e112b82d04bd /src/H5Oattr.c | |
parent | e75b2e3c2c6e47ccb55dddc40822b41c57ff273d (diff) | |
download | hdf5-de28f691ba42e295341ed1098caa1f3b980cc4eb.zip hdf5-de28f691ba42e295341ed1098caa1f3b980cc4eb.tar.gz hdf5-de28f691ba42e295341ed1098caa1f3b980cc4eb.tar.bz2 |
merge intel warning fix
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 1957554..41c467c 100644 --- a/src/H5Oattr.c +++ b/src/H5Oattr.c @@ -333,7 +333,7 @@ H5O_attr_encode(H5F_t *f, uint8_t *p, const void *mesg) /* The character encoding for the attribute's name, in later versions */ if(attr->shared->version >= H5O_ATTR_VERSION_3) - *p++ = attr->shared->encoding; + *p++ = (uint8_t)attr->shared->encoding; /* Write the name including null terminator */ HDmemcpy(p, attr->shared->name, name_len); |