summaryrefslogtreecommitdiffstats
path: root/src/H5EAcache.c
diff options
context:
space:
mode:
authorkmu <kmu@hdfgroup.org>2019-12-06 20:12:57 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-05-20 14:20:25 (GMT)
commit271bce5b10017010e861835e5d3d1137a7fb6df4 (patch)
tree2880328a49f8371d0aad354503c71ec8319c89d5 /src/H5EAcache.c
parent1d46e823172046f259eb054370ea721eacad79b1 (diff)
downloadhdf5-271bce5b10017010e861835e5d3d1137a7fb6df4.zip
hdf5-271bce5b10017010e861835e5d3d1137a7fb6df4.tar.gz
hdf5-271bce5b10017010e861835e5d3d1137a7fb6df4.tar.bz2
remove unnecessary check macro
Diffstat (limited to 'src/H5EAcache.c')
-rw-r--r--src/H5EAcache.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5EAcache.c b/src/H5EAcache.c
index a0469bc..d8e779a 100644
--- a/src/H5EAcache.c
+++ b/src/H5EAcache.c
@@ -492,7 +492,7 @@ H5EA__cache_hdr_serialize(const H5F_t *f, void *_image, size_t H5_ATTR_UNUSED le
*image++ = H5EA_HDR_VERSION;
/* Extensible array type */
- H5_CHECKED_ASSIGN(*image++, uint8_t, hdr->cparam.cls->id, int);
+ *image++ = (uint8_t)hdr->cparam.cls->id;
/* General array creation/configuration information */
*image++ = hdr->cparam.raw_elmt_size; /* Element size in file (in bytes) */
@@ -880,7 +880,7 @@ H5EA__cache_iblock_serialize(const H5F_t *f, void *_image, size_t H5_ATTR_UNUSED
*image++ = H5EA_IBLOCK_VERSION;
/* Extensible array type */
- H5_CHECKED_ASSIGN(*image++, uint8_t, iblock->hdr->cparam.cls->id, int);
+ *image++ = (uint8_t)iblock->hdr->cparam.cls->id;
/* Address of array header for array which owns this block */
H5F_addr_encode(f, &image, iblock->hdr->addr);
@@ -1289,7 +1289,7 @@ H5EA__cache_sblock_serialize(const H5F_t *f, void *_image, size_t H5_ATTR_UNUSED
*image++ = H5EA_SBLOCK_VERSION;
/* Extensible array type */
- H5_CHECKED_ASSIGN(*image++, uint8_t, sblock->hdr->cparam.cls->id, int);
+ *image++ = (uint8_t)sblock->hdr->cparam.cls->id;
/* Address of array header for array which owns this block */
H5F_addr_encode(f, &image, sblock->hdr->addr);
@@ -1703,7 +1703,7 @@ H5EA__cache_dblock_serialize(const H5F_t *f, void *_image, size_t H5_ATTR_UNUSED
*image++ = H5EA_DBLOCK_VERSION;
/* Extensible array type */
- H5_CHECKED_ASSIGN(*image++, uint8_t, dblock->hdr->cparam.cls->id, int);
+ *image++ = (uint8_t)dblock->hdr->cparam.cls->id;
/* Address of array header for array which owns this block */
H5F_addr_encode(f, &image, dblock->hdr->addr);