summaryrefslogtreecommitdiffstats
path: root/src/H5FAcache.c
diff options
context:
space:
mode:
authorkmu <kmu@hdfgroup.org>2019-12-04 02:52:55 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-05-20 14:20:25 (GMT)
commit1d46e823172046f259eb054370ea721eacad79b1 (patch)
tree11528139965614d2398171c275243eb55d1bd0b5 /src/H5FAcache.c
parentfb8f955a73a41de8fa457424c4622f6dc072f53d (diff)
downloadhdf5-1d46e823172046f259eb054370ea721eacad79b1.zip
hdf5-1d46e823172046f259eb054370ea721eacad79b1.tar.gz
hdf5-1d46e823172046f259eb054370ea721eacad79b1.tar.bz2
fix intel compile warnings
Diffstat (limited to 'src/H5FAcache.c')
-rw-r--r--src/H5FAcache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5FAcache.c b/src/H5FAcache.c
index 0a4f29f..dbdb42c 100644
--- a/src/H5FAcache.c
+++ b/src/H5FAcache.c
@@ -420,7 +420,7 @@ H5FA__cache_hdr_serialize(const H5F_t *f, void *_image, size_t H5_ATTR_UNUSED le
*image++ = H5FA_HDR_VERSION;
/* Fixed array type */
- *image++ = hdr->cparam.cls->id;
+ H5_CHECKED_ASSIGN(*image++, uint8_t, hdr->cparam.cls->id, int);
/* General array creation/configuration information */
*image++ = hdr->cparam.raw_elmt_size; /* Element size in file (in bytes) */
@@ -808,7 +808,7 @@ H5FA__cache_dblock_serialize(const H5F_t *f, void *_image, size_t H5_ATTR_UNUSED
*image++ = H5FA_DBLOCK_VERSION;
/* Fixed array type */
- *image++ = dblock->hdr->cparam.cls->id;
+ H5_CHECKED_ASSIGN(*image++, uint8_t, dblock->hdr->cparam.cls->id, int);
/* Address of array header for array which owns this block */
H5F_addr_encode(f, &image, dblock->hdr->addr);