diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2006-03-22 18:11:24 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2006-03-22 18:11:24 (GMT) |
commit | 3424f9f5d1c45e739480e16ab3faa272ca1569f8 (patch) | |
tree | 9137c6377285d8576d35205f9e390dbcff40fa57 /test | |
parent | bd73819e2682bebcde6e9c3f1183acdb9608e6ce (diff) | |
download | hdf5-3424f9f5d1c45e739480e16ab3faa272ca1569f8.zip hdf5-3424f9f5d1c45e739480e16ab3faa272ca1569f8.tar.gz hdf5-3424f9f5d1c45e739480e16ab3faa272ca1569f8.tar.bz2 |
[svn-r12128] Purpose:
Code cleanup
Description:
Clean up some compiler warnings (esp. those flagged on Windows builds)
Platforms tested:
FreeBSD 4.11 (sleipnir)
Too minor to require h5committest
Diffstat (limited to 'test')
-rw-r--r-- | test/tmisc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/tmisc.c b/test/tmisc.c index 357291b..024e762 100644 --- a/test/tmisc.c +++ b/test/tmisc.c @@ -3625,13 +3625,13 @@ test_misc22(void) hid_t fdts[2]={H5T_NATIVE_FLOAT32, H5T_NATIVE_FLOAT64} */ - int prec[4] = {3,11,19,27}; + size_t prec[4] = {3,11,19,27}; int offsets[5] = {0,3,11,19,27}; int i,j,k; unsigned int flags; size_t cd_nelmts=32; unsigned int cd_values[32]; - int correct; + unsigned correct; if (h5_szip_can_encode() != 1) return; idts[0]=H5Tcopy(H5T_NATIVE_UINT8); @@ -3661,7 +3661,7 @@ test_misc22(void) if (offsets[k] > (H5Tget_size(idts[i])*8)) continue; /* skip irrelevant combinations */ if ((prec[j]+offsets[k]) > (H5Tget_size(idts[i])*8)) continue; - MESSAGE(5, (" Testing datatypes size=%d precision=%d offset=%d\n",H5Tget_size(idts[i]),prec[j],offsets[k])); + MESSAGE(5, (" Testing datatypes size=%d precision=%u offset=%d\n",H5Tget_size(idts[i]),(unsigned)prec[j],offsets[k])); /* Create the DCPL */ dcpl = H5Pcreate (H5P_DATASET_CREATE); |