mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-27 07:30:33 +08:00
Corrected an issue encountered by the default compiler on ARM.
This commit is contained in:
parent
672c352f3e
commit
e7fee3ee53
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user