summaryrefslogtreecommitdiffstats
path: root/test/tmisc.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-01-17 23:37:24 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-01-17 23:37:24 (GMT)
commitfa11904aabebe64af2d90be3b3203203569e0bcb (patch)
tree629c7fff8a54dbf7a70bd3850092ba94fdb96ab3 /test/tmisc.c
parent6d50253be1f54fcd3074ab699bdd6e3b0baa2d58 (diff)
downloadhdf5-fa11904aabebe64af2d90be3b3203203569e0bcb.zip
hdf5-fa11904aabebe64af2d90be3b3203203569e0bcb.tar.gz
hdf5-fa11904aabebe64af2d90be3b3203203569e0bcb.tar.bz2
[svn-r13151] Description:
Clean up compiler warnings, esp. on Windows Tested on: FreeBSD/32 6.2 (duty) Mac OS X/32 10.4.8 (amazon)
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 a4d54ae..e5869fb 100644
--- a/test/tmisc.c
+++ b/test/tmisc.c
@@ -3655,7 +3655,7 @@ test_misc22(void)
H5T_NATIVE_FLOAT64}
*/
size_t prec[4] = {3,11,19,27};
- int offsets[5] = {0,3,11,19,27};
+ size_t offsets[5] = {0,3,11,19,27};
int i,j,k;
unsigned int flags;
size_t cd_nelmts=32;
@@ -3690,7 +3690,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=%u offset=%d\n",H5Tget_size(idts[i]),(unsigned)prec[j],offsets[k]));
+ MESSAGE(5, (" Testing datatypes size=%d precision=%u offset=%d\n",H5Tget_size(idts[i]),(unsigned)prec[j],(unsigned)offsets[k]));
/* Create the DCPL */
dcpl = H5Pcreate (H5P_DATASET_CREATE);