Commit 63260340 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

streamNvals: cast result to int.

parent e718c5a8
......@@ -1914,7 +1914,7 @@ after_processing(struct Control *globs, struct Variable *vars)
if (globs->ostreamID != CDI_UNDEFID) cdoStreamClose(globs->ostreamID);
processDefVarNum(vlistNvars(globs->ivlistID));
processSelf().addNvals(streamNvals(globs->istreamID));
processSelf().addNvals((int)streamNvals(globs->istreamID));
streamClose(globs->istreamID);
......
......@@ -490,7 +490,7 @@ cdoKillProcesses()
void
cdoStreamClose(int p_pstreamID)
{
const int nvals = pstreamClose(p_pstreamID);
Process &process = processSelf();
int nvals = pstreamClose(p_pstreamID);
process.addNvals(nvals);
}
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