diff options
author | kmu <kmu@hdfgroup.org> | 2019-11-25 18:48:51 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-05-20 14:20:23 (GMT) |
commit | bb53a566e8a45490b3179290774c3f1450d7d8dd (patch) | |
tree | f63980b1e4a4aed7a0a3cf4c3d7a3f83496c10e1 /src/H5HFtest.c | |
parent | 540e50df2898be8cacc151f9e2930d250337a62f (diff) | |
download | hdf5-bb53a566e8a45490b3179290774c3f1450d7d8dd.zip hdf5-bb53a566e8a45490b3179290774c3f1450d7d8dd.tar.gz hdf5-bb53a566e8a45490b3179290774c3f1450d7d8dd.tar.bz2 |
fix issues from previous PR comments
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 9eb8ed2..b0291b8 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 = (unsigned char)(*id & H5HF_ID_TYPE_MASK); + ASSIGN_TO_SMALLER_SIZE(*obj_type, unsigned char, *id & H5HF_ID_TYPE_MASK, int); FUNC_LEAVE_NOAPI(SUCCEED) } /* H5HF_get_id_type_test() */ |