mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-02-17 16:50:18 +08:00
Cast to correct type in assignment
This commit is contained in:
parent
3134af3ce7
commit
47d1b68599
@ -357,8 +357,7 @@ genbin_deftype(Symbol* tsym)
|
||||
int dimsizes[NC_MAX_VAR_DIMS]; /* int because inside compound */
|
||||
/* Generate the field dimension constants*/
|
||||
for(j=0;j<efield->typ.dimset.ndims;j++) {
|
||||
unsigned int size = efield->typ.dimset.dimsyms[j]->dim.declsize;
|
||||
dimsizes[j] = size;
|
||||
dimsizes[j] = (int)efield->typ.dimset.dimsyms[j]->dim.declsize;
|
||||
}
|
||||
stat = nc_insert_array_compound(
|
||||
tsym->container->nc_id,
|
||||
|
Loading…
Reference in New Issue
Block a user