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/H5SMcache.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/H5SMcache.c')
-rw-r--r-- | src/H5SMcache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5SMcache.c b/src/H5SMcache.c index ee28fa4..40692cd 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++ = (uint8_t)table->indexes[u].index_type; + ASSIGN_TO_SMALLER_SIZE(*image++, uint8_t, table->indexes[u].index_type, int); /* Type of messages in the index */ UINT16ENCODE(image, table->indexes[u].mesg_types); |