summaryrefslogtreecommitdiffstats
path: root/test/th5s.c
diff options
context:
space:
mode:
authorkmu <kmu@hdfgroup.org>2019-12-04 02:52:55 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-05-20 14:20:25 (GMT)
commit1d46e823172046f259eb054370ea721eacad79b1 (patch)
tree11528139965614d2398171c275243eb55d1bd0b5 /test/th5s.c
parentfb8f955a73a41de8fa457424c4622f6dc072f53d (diff)
downloadhdf5-1d46e823172046f259eb054370ea721eacad79b1.zip
hdf5-1d46e823172046f259eb054370ea721eacad79b1.tar.gz
hdf5-1d46e823172046f259eb054370ea721eacad79b1.tar.bz2
fix intel compile warnings
Diffstat (limited to 'test/th5s.c')
-rw-r--r--test/th5s.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/th5s.c b/test/th5s.c
index 747e741..5ef5368 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;