diff options
author | kmu <kmu@jelly.ad.hdfgroup.org> | 2019-11-07 20:34:13 (GMT) |
---|---|---|
committer | kmu <kmu@jelly.ad.hdfgroup.org> | 2019-11-07 20:34:13 (GMT) |
commit | 8b9338ab57eec0cc8fa5a36c44d7b28e52e9a466 (patch) | |
tree | f1985055bbea601ded4a545e123d4954ef8529fe /src/H5HFtest.c | |
parent | afd4b291315e39e3966eadaf8ae9894b30e9504e (diff) | |
download | hdf5-8b9338ab57eec0cc8fa5a36c44d7b28e52e9a466.zip hdf5-8b9338ab57eec0cc8fa5a36c44d7b28e52e9a466.tar.gz hdf5-8b9338ab57eec0cc8fa5a36c44d7b28e52e9a466.tar.bz2 |
fix warnings from Intel compiler
Diffstat (limited to 'src/H5HFtest.c')
-rw-r--r-- | src/H5HFtest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5HFtest.c b/src/H5HFtest.c index 6f174bb..9eb8ed2 100644 --- a/src/H5HFtest.c +++ b/src/H5HFtest.c @@ -481,7 +481,7 @@ H5HF_get_id_type_test(const void *_id, unsigned char *obj_type) HDassert(obj_type); /* Get the type for a heap ID */ - *obj_type = *id & H5HF_ID_TYPE_MASK; + *obj_type = (unsigned char)(*id & H5HF_ID_TYPE_MASK); FUNC_LEAVE_NOAPI(SUCCEED) } /* H5HF_get_id_type_test() */ |