Commit 5f8f2c1a authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Change data type of zsize to size_t.

parent 1386c731
......@@ -2881,7 +2881,7 @@ int cdf_define_all_zaxes(stream_t *streamptr, int vlistID, ncdim_t *ncdims, int
if ( ncvars[zvarid].ndims == 2 )
{
zprec = CDI_DATATYPE_UINT8;
zclength = (size_t)ncdims[ncvars[zvarid].dimids[1]].len;
zclength = ncdims[ncvars[zvarid].dimids[1]].len;
cdf_load_cvals(zsize*zclength, zvarid, ncvar, &zcvals, zsize);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment