diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/chunk_info.c | 4 | ||||
-rw-r--r-- | test/trefstr.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/chunk_info.c b/test/chunk_info.c index f60cddd..d391dd2 100644 --- a/test/chunk_info.c +++ b/test/chunk_info.c @@ -482,10 +482,10 @@ test_get_chunk_info_highest_v18(hid_t fapl) unsigned flt_msk = 0; /* Filter mask */ unsigned read_flt_msk = 0; /* Filter mask after direct read */ int fillvalue = -1; /* Fill value */ - int aggression = 9; /* Compression aggression setting */ hsize_t offset[2] = {0, 0}; /* Offset coordinates of a chunk */ #ifdef H5_HAVE_FILTER_DEFLATE - const Bytef *z_src = (const Bytef *)(direct_buf); + int aggression = 9; /* Compression aggression setting */ + const Bytef *z_src = (const Bytef *)(direct_buf); Bytef * z_dst; /* Destination buffer */ uLongf z_dst_nbytes = (uLongf)DEFLATE_SIZE_ADJUST(CHK_SIZE); uLong z_src_nbytes = (uLong)CHK_SIZE; diff --git a/test/trefstr.c b/test/trefstr.c index ea30f24..0dcf621 100644 --- a/test/trefstr.c +++ b/test/trefstr.c @@ -186,7 +186,7 @@ test_refstr_cmp(void) H5RS_str_t *rs1; /* Ref-counted string created */ H5RS_str_t *rs2; /* Ref-counted string created */ int cmp; /* Comparison value */ - size_t len; /* Length of string */ + ssize_t len; /* Length of string */ herr_t ret; /* Generic return value */ /* Output message about test being performed */ |