summaryrefslogtreecommitdiffstats
path: root/src/H5B2cache.c
diff options
context:
space:
mode:
authorkmu <kmu@hdfgroup.org>2019-11-26 23:24:48 (GMT)
committerkmu <kmu@hdfgroup.org>2019-11-26 23:24:48 (GMT)
commite0262c8bedf0e59b7b32b02ecd91ed50cf834a1c (patch)
treeb4605ad55c3c2b82218a915fc2322d0f75a4f880 /src/H5B2cache.c
parentbfbd613f53af476fd83ac9e2bfb5855e659eef65 (diff)
downloadhdf5-e0262c8bedf0e59b7b32b02ecd91ed50cf834a1c.zip
hdf5-e0262c8bedf0e59b7b32b02ecd91ed50cf834a1c.tar.gz
hdf5-e0262c8bedf0e59b7b32b02ecd91ed50cf834a1c.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 09bb389..2a77bd5 100644
--- a/src/H5B2cache.c
+++ b/src/H5B2cache.c
@@ -398,7 +398,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);
@@ -818,7 +818,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 */
@@ -1219,7 +1219,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 */