diff options
author | kmu <kmu@jelly.ad.hdfgroup.org> | 2019-11-07 20:34:13 (GMT) |
---|---|---|
committer | kmu <kmu@jelly.ad.hdfgroup.org> | 2019-11-07 20:34:13 (GMT) |
commit | 8b9338ab57eec0cc8fa5a36c44d7b28e52e9a466 (patch) | |
tree | f1985055bbea601ded4a545e123d4954ef8529fe /test/th5s.c | |
parent | afd4b291315e39e3966eadaf8ae9894b30e9504e (diff) | |
download | hdf5-8b9338ab57eec0cc8fa5a36c44d7b28e52e9a466.zip hdf5-8b9338ab57eec0cc8fa5a36c44d7b28e52e9a466.tar.gz hdf5-8b9338ab57eec0cc8fa5a36c44d7b28e52e9a466.tar.bz2 |
fix warnings from Intel compiler
Diffstat (limited to 'test/th5s.c')
-rw-r--r-- | test/th5s.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/th5s.c b/test/th5s.c index 1a4456a..ed02c16 100644 --- a/test/th5s.c +++ b/test/th5s.c @@ -1583,7 +1583,7 @@ test_h5s_encode1(void) ****************************************************************/ static herr_t test_h5s_check_encoding(hid_t in_fapl, hid_t in_sid, - uint32_t expected_version, uint8_t expected_enc_size, hbool_t expected_to_fail) + uint32_t expected_version, uint32_t expected_enc_size, hbool_t expected_to_fail) { char *buf = NULL; /* Pointer to the encoded buffer */ size_t buf_size; /* Size of the encoded buffer */ @@ -1697,7 +1697,7 @@ test_h5s_encode_regular_hyper(H5F_libver_t low, H5F_libver_t high) unsigned unlim; /* H5S_UNLIMITED setting or not */ herr_t ret; /* Generic return value */ uint32_t expected_version = 0; /* Expected version for selection info */ - uint8_t expected_enc_size = 0; /* Expected encoded size for selection info */ + uint32_t expected_enc_size = 0; /* Expected encoded size for selection info */ /* Output message about test being performed */ MESSAGE(5, ("Testing Dataspace encoding of regular hyperslabs\n")); @@ -1912,7 +1912,7 @@ test_h5s_encode_irregular_hyper(H5F_libver_t low, H5F_libver_t high) for(config = CONFIG_8; config <= CONFIG_32; config++) { hbool_t expected_to_fail = FALSE; /* Whether H5Sencode2 is expected to fail */ uint32_t expected_version = 0; /* Expected version for selection info */ - uint8_t expected_enc_size = 0; /* Expected encoded size for selection info */ + uint32_t expected_enc_size = 0; /* Expected encoded size for selection info */ start = 0; count = 2; |