summaryrefslogtreecommitdiffstats
path: root/src/H5SMcache.c
diff options
context:
space:
mode:
authorkmu <kmu@jelly.ad.hdfgroup.org>2019-11-07 20:34:13 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-05-20 14:20:23 (GMT)
commit6725222332ded4dd7324f61a73299d889a4ae571 (patch)
tree3092f832d185062f062347b172104ad0b95b17cf /src/H5SMcache.c
parentd1d4635550d989a887db98791213c455894b48eb (diff)
downloadhdf5-6725222332ded4dd7324f61a73299d889a4ae571.zip
hdf5-6725222332ded4dd7324f61a73299d889a4ae571.tar.gz
hdf5-6725222332ded4dd7324f61a73299d889a4ae571.tar.bz2
fix warnings from Intel compiler
Diffstat (limited to 'src/H5SMcache.c')
-rw-r--r--src/H5SMcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5SMcache.c b/src/H5SMcache.c
index 49ce2b4..ee28fa4 100644
--- a/src/H5SMcache.c
+++ b/src/H5SMcache.c
@@ -397,7 +397,7 @@ H5SM__cache_table_serialize(const H5F_t *f, void *_image, size_t len,
*image++ = H5SM_LIST_VERSION;
/* Is message index a list or a B-tree? */
- *image++ = table->indexes[u].index_type;
+ *image++ = (uint8_t)table->indexes[u].index_type;
/* Type of messages in the index */
UINT16ENCODE(image, table->indexes[u].mesg_types);