summaryrefslogtreecommitdiffstats
path: root/src/H5SMmessage.c
diff options
context:
space:
mode:
authorKimmy Mu <kmu@hdfgroup.org>2020-01-24 01:42:50 (GMT)
committerKimmy Mu <kmu@hdfgroup.org>2020-01-24 01:42:50 (GMT)
commitd038d8510032696e4defd86f1906e7d4fa133ba9 (patch)
treea77fdb4be46d9c9c8d4d592088583e490abc561c /src/H5SMmessage.c
parent037a883bd4d58061e11183b1d67d7f0cc17ddd99 (diff)
parent48cc850199901c5b67a40183262f4ead975b884f (diff)
downloadhdf5-d038d8510032696e4defd86f1906e7d4fa133ba9.zip
hdf5-d038d8510032696e4defd86f1906e7d4fa133ba9.tar.gz
hdf5-d038d8510032696e4defd86f1906e7d4fa133ba9.tar.bz2
Merge pull request #2238 in HDFFV/hdf5 from ~KMU/hdf5:hdf5_1_12 to hdf5_1_12
* commit '48cc850199901c5b67a40183262f4ead975b884f': fix test assert fail error Merge pull request #2071 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/intel_warnings to develop Merge pull request #2234 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/intel_warnings to develop
Diffstat (limited to 'src/H5SMmessage.c')
-rw-r--r--src/H5SMmessage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5SMmessage.c b/src/H5SMmessage.c
index 0cca6bb..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);
- *raw++ = message->location;
+ *raw++ = (uint8_t)message->location;
UINT32ENCODE(raw, message->hash);
if(message->location == H5SM_IN_HEAP) {