message: fixed more type conversion warnings
diff: @@ -96,7 +96,7 @@ std::vector<RunParams> CreateRunParams()
  } \
  if (adios2_variable_available_steps_count(vi) != NSTEPS) \
  { \
  - printE("Variable %s has %zu steps, but expected %u\n", VARNAME, \
  + printE("Variable %s has %zu steps, but expected %zu\n", VARNAME, \
  adios2_variable_available_steps_count(vi), NSTEPS); \
  err = 103; \
  /*goto endread; */ \
  @@ -105,7 +105,8 @@ std::vector<RunParams> CreateRunParams()
  #define CHECK_SCALAR(VARNAME, VAR, VALUE, STEP) \
  if (VAR != VALUE) \
  { \
  - printE(#VARNAME " step %d: wrote %d but read %d\n", STEP, VALUE, VAR); \
  + printE(#VARNAME " step %zu: wrote %zu but read %zu\n", STEP, VALUE, \
  + VAR); \
  err = 104; \
  /*goto endread;*/ \
  }
  @@ -114,7 +115,7 @@ std::vector<RunParams> CreateRunParams()
  for (i = 0; i < N; i++) \
  if (A[i] != VALUE) \
  { \
  - printE("%s[%d] step %zu block %zu: wrote %d but read %d\n", \
  + printE("%s[%d] step %zu block %zu: wrote %zu but read %d\n", \
  VARNAME, i, STEP, BLOCK, VALUE, A[i]); \
  err = 104; \
  /*goto endread;*/ \
  @@ -131,9 +132,9 @@ public:
  TestManyVars() = default;
  ~TestManyVars() = default;
  - int NVARS = 1;
  - int NBLOCKS = 1;
  - int NSTEPS = 1;
  + size_t NVARS = 1;
  + size_t NBLOCKS = 1;
  + size_t NSTEPS = 1;
  int REDEFINE =
  0; // 1: delete and redefine variable definitions at each step to
  // test adios_delete_vardefs()
  @@ -193,7 +194,7 @@ public:
  gdim2 = NBLOCKS * ldim2;
  }
  - void set_offsets(int block)
  + void set_offsets(size_t block)
  {
  offs1 = rank * ldim1;
  offs2 = block * ldim2;
  @@ -256,7 +257,7 @@ public:
  if (rank == 0)
  {
  - log("Test %d Variables, %d Blocks, %d Steps\n", NVARS, NBLOCKS,
  + log("Test %zu Variables, %zu Blocks, %zu Steps\n", NVARS, NBLOCKS,
  NSTEPS);
  }
  @@ -354,8 +355,8 @@ public:
  int read_file()
  {
  adios2_variable *vi;
  - int err = 0, v;
  - size_t step, i;
  + int err = 0;
  + size_t step, i, v;
  int iMacro; // loop variable in macros
  double tb, te;
  double tsb, ts; // time for just scheduling for one step/block
  @@ -408,7 +409,7 @@ public:
  start[0] = offs1;
  start[1] = offs2;
  - log(" Step %zu block %zu: value=%d\n", step, block, v);
  + log(" Step %zu block %zu: value=%zu\n", step, block, v);
  for (i = 0; i < NVARS; i++)
  {
  