Commit e873c394 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Fix implicit narrowing in extAddRecord.

parent 8f849899
......@@ -260,8 +260,8 @@ void extAddRecord(stream_t *streamptr, int param, int level, int xysize,
varAddRecord(recID, param, gridID, leveltype, 0, level, 0, 0, 0,
extInqDatatype(prec, number), &varID, &levelID, UNDEFID, 0, 0, NULL, NULL, NULL, NULL);
(*record).varID = varID;
(*record).levelID = levelID;
(*record).varID = (short)varID;
(*record).levelID = (short)levelID;
streamptr->tsteps[tsID].nallrecs++;
streamptr->nrecs++;
......
Supports Markdown
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