summaryrefslogtreecommitdiffstats
path: root/test/tmisc.c
diff options
context:
space:
mode:
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);