summaryrefslogtreecommitdiffstats
path: root/test/tmisc.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-02-09 13:46:16 (GMT)
committerGitHub <noreply@github.com>2023-02-09 13:46:16 (GMT)
commitd61fd4aba721db789477027924f4e3aff313f7b6 (patch)
treee339150fca9b54e801d74d08f42d6aa0dc50c2ed /test/tmisc.c
parent509fe962d42b3f02d356d2668b04712df06daf7f (diff)
downloadhdf5-d61fd4aba721db789477027924f4e3aff313f7b6.zip
hdf5-d61fd4aba721db789477027924f4e3aff313f7b6.tar.gz
hdf5-d61fd4aba721db789477027924f4e3aff313f7b6.tar.bz2
Add szip/libaec to GitHub CI and fix warnings (#2438)
szip (or libaec) is currently not tested in CI. This adds szip to the the Autotools GitHub CI actions on Linux when building with the Autotools. This PR also cleans up a few warnings that remained in the szip- related code so the -Werror check will pass.
Diffstat (limited to 'test/tmisc.c')
-rw-r--r--test/tmisc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tmisc.c b/test/tmisc.c
index 5fb44d4..92b441e 100644
--- a/test/tmisc.c
+++ b/test/tmisc.c
@@ -3948,7 +3948,7 @@ test_misc22(void)
unsigned int flags;
size_t cd_nelmts = 32;
unsigned int cd_values[32];
- unsigned correct;
+ size_t correct;
if (h5_szip_can_encode() != 1)
return;
@@ -4042,7 +4042,7 @@ test_misc22(void)
NULL);
CHECK(ret, FAIL, "H5Pget_filter_by_id2");
- VERIFY(cd_values[2], correct, "SZIP filter returned value for precision");
+ VERIFY(cd_values[2], (unsigned)correct, "SZIP filter returned value for precision");
ret = H5Dclose(dsid);
CHECK(ret, FAIL, "H5Dclose");