diff options
author | kmu <kmu@hdfgroup.org> | 2019-12-06 20:12:57 (GMT) |
---|---|---|
committer | kmu <kmu@hdfgroup.org> | 2019-12-06 20:12:57 (GMT) |
commit | 189935ff260cae6fb4e061fa68bd7b93e219c635 (patch) | |
tree | 835e1ace051ca3cd146ee86b62b884a96fc04721 /src/H5SMmessage.c | |
parent | 132fa33dad6badacec90e80768d8dc8e8aa33172 (diff) | |
download | hdf5-189935ff260cae6fb4e061fa68bd7b93e219c635.zip hdf5-189935ff260cae6fb4e061fa68bd7b93e219c635.tar.gz hdf5-189935ff260cae6fb4e061fa68bd7b93e219c635.tar.bz2 |
remove unnecessary check macro
Diffstat (limited to 'src/H5SMmessage.c')
-rw-r--r-- | src/H5SMmessage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5SMmessage.c b/src/H5SMmessage.c index 4c0033c..e085204 100644 --- a/src/H5SMmessage.c +++ b/src/H5SMmessage.c @@ -298,7 +298,7 @@ H5SM__message_encode(uint8_t *raw, const void *_nrecord, void *_ctx) /* Sanity check */ HDassert(ctx); - H5_CHECKED_ASSIGN(*raw++, uint8_t, message->location, int); + *raw++ = (uint8_t)message->location; UINT32ENCODE(raw, message->hash); if(message->location == H5SM_IN_HEAP) { |