Corrected an issue encountered by the default compiler on ARM.

This commit is contained in:
Ward Fisher 2017-11-07 15:19:07 -07:00
parent 672c352f3e
commit e7fee3ee53

View File

@ -65,11 +65,12 @@ main(int argc, char **argv)
unsigned char uchar_out[DIM1_LEN] = {0, 128, 255};
int format[MAX_NUM_FORMATS];
int num_formats;
int f = 0;
printf("\n*** Testing netcdf data conversion.\n");
determine_test_formats(&num_formats, format);
for (int f = 0; f < num_formats; f++)
for (f = 0; f < num_formats; f++)
{
printf("*** Testing conversion in netCDF %s files... ", format_name[f]);
create_file(format[f], uchar_out);