mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-01-18 15:55:12 +08:00
Adjusted enddef test to work on 32 bit platforms as well.
This commit is contained in:
parent
46e39c3647
commit
ee9537b6ab
@ -30,8 +30,8 @@ int main(int argc, char** argv)
|
||||
err = nc_set_fill(ncid, NC_NOFILL, NULL); CHECK_ERR
|
||||
|
||||
err = nc_def_dim(ncid, "X", 5, &dimid[0]); CHECK_ERR
|
||||
err = nc_def_dim(ncid, "YY", 66661, &dimid[1]); CHECK_ERR
|
||||
err = nc_def_dim(ncid, "XX", 66661, &dimid[2]); CHECK_ERR
|
||||
err = nc_def_dim(ncid, "YY", 32000, &dimid[1]); CHECK_ERR
|
||||
err = nc_def_dim(ncid, "XX", 32000, &dimid[2]); CHECK_ERR
|
||||
|
||||
err = nc_def_var(ncid, "var", NC_INT, 1, dimid, &varid); CHECK_ERR
|
||||
err = nc_def_var(ncid, "var_big", NC_FLOAT, 2, dimid+1, &varid); CHECK_ERR
|
||||
@ -50,4 +50,3 @@ int main(int argc, char** argv)
|
||||
|
||||
return (nerrs > 0);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user