summaryrefslogtreecommitdiffstats
path: root/src/H5B2cache.c
diff options
context:
space:
mode:
authorkmu <kmu@hdfgroup.org>2019-11-26 23:24:48 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-05-20 14:20:24 (GMT)
commitfb8f955a73a41de8fa457424c4622f6dc072f53d (patch)
treed5211375925133398e500dc157819b289b737566 /src/H5B2cache.c
parent3e4a99d17dcf2ed3df324513114fed58fe9272c6 (diff)
downloadhdf5-fb8f955a73a41de8fa457424c4622f6dc072f53d.zip
hdf5-fb8f955a73a41de8fa457424c4622f6dc072f53d.tar.gz
hdf5-fb8f955a73a41de8fa457424c4622f6dc072f53d.tar.bz2
Revert "fix warnings from Intel compiler"
This reverts commit 8b9338ab57eec0cc8fa5a36c44d7b28e52e9a466.
Diffstat (limited to 'src/H5B2cache.c')
-rw-r--r--src/H5B2cache.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5B2cache.c b/src/H5B2cache.c
index 2baac85..6efacee 100644
--- a/src/H5B2cache.c
+++ b/src/H5B2cache.c
@@ -401,7 +401,7 @@ H5B2__cache_hdr_serialize(const H5F_t *f, void *_image, size_t H5_ATTR_UNUSED le
*image++ = H5B2_HDR_VERSION;
/* B-tree type */
- *image++ = (uint8_t)hdr->cls->id;
+ *image++ = hdr->cls->id;
/* Node size (in bytes) */
UINT32ENCODE(image, hdr->node_size);
@@ -821,7 +821,7 @@ H5B2__cache_int_serialize(const H5F_t *f, void *_image, size_t H5_ATTR_UNUSED le
*image++ = H5B2_INT_VERSION;
/* B-tree type */
- *image++ = (uint8_t)internal->hdr->cls->id;
+ *image++ = internal->hdr->cls->id;
HDassert((size_t)(image - (uint8_t *)_image) == (H5B2_INT_PREFIX_SIZE - H5B2_SIZEOF_CHKSUM));
/* Serialize records for internal node */
@@ -1222,7 +1222,7 @@ H5B2__cache_leaf_serialize(const H5F_t H5_ATTR_UNUSED *f, void *_image, size_t H
*image++ = H5B2_LEAF_VERSION;
/* B-tree type */
- *image++ = (uint8_t)leaf->hdr->cls->id;
+ *image++ = leaf->hdr->cls->id;
HDassert((size_t)(image - (uint8_t *)_image) == (H5B2_LEAF_PREFIX_SIZE - H5B2_SIZEOF_CHKSUM));
/* Serialize records for leaf node */