summaryrefslogtreecommitdiffstats
path: root/src/H5Shyper.c
diff options
context:
space:
mode:
authorkmu <kmu@jelly.ad.hdfgroup.org>2019-11-07 20:34:13 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-05-20 14:20:23 (GMT)
commit6725222332ded4dd7324f61a73299d889a4ae571 (patch)
tree3092f832d185062f062347b172104ad0b95b17cf /src/H5Shyper.c
parentd1d4635550d989a887db98791213c455894b48eb (diff)
downloadhdf5-6725222332ded4dd7324f61a73299d889a4ae571.zip
hdf5-6725222332ded4dd7324f61a73299d889a4ae571.tar.gz
hdf5-6725222332ded4dd7324f61a73299d889a4ae571.tar.bz2
fix warnings from Intel compiler
Diffstat (limited to 'src/H5Shyper.c')
-rw-r--r--src/H5Shyper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Shyper.c b/src/H5Shyper.c
index 1e1538e..dc97ea2 100644
--- a/src/H5Shyper.c
+++ b/src/H5Shyper.c
@@ -3688,7 +3688,7 @@ H5S__hyper_get_version_enc_size(const H5S_t *space, hsize_t block_count, uint32_
/* Determine the encoding size */
enc2 = H5S__hyper_get_enc_size_real(max2);
- *enc_size = MAX(enc1, enc2);
+ *enc_size = (uint8_t)MAX(enc1, enc2);
} /* end if */
else {
hsize_t max_size = block_count;