Fix warnings in nctest

This commit is contained in:
Peter Hill 2024-03-11 17:58:54 +00:00
parent 662afedb90
commit c11e3d1686
No known key found for this signature in database
GPG Key ID: 0C6B9742E72848EE

View File

@ -45,7 +45,7 @@ test_varputget(int cdfid) /* handle of netcdf open and in data mode */
long edg[MAX_NC_DIMS]; /* netcdf edge lengths to upper corner */
void *vals; /* pointer to block of values */
} hc[3], tmp; /* test hypercubes */
int nel[3]; /* number of elements in hypercube */
long nel[3]; /* number of elements in hypercube */
for (iv = 0; iv < test.nvars; iv++) { /* for each var in netcdf */
for (ie = 0; ie < ne; ie++)