Commit 7cb95e73 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Use shorter notation.

parent 8e4f629c
...@@ -408,8 +408,8 @@ void cgribexAddRecord(stream_t * streamptr, int param, int *isec1, int *isec2, d ...@@ -408,8 +408,8 @@ void cgribexAddRecord(stream_t * streamptr, int param, int *isec1, int *isec2, d
datatype, &varID, &levelID, tsteptype, numavg, ISEC1_LevelType, -1, datatype, &varID, &levelID, tsteptype, numavg, ISEC1_LevelType, -1,
NULL, NULL, NULL, NULL, NULL, NULL); NULL, NULL, NULL, NULL, NULL, NULL);
(*record).varID = (short)varID; record->varID = (short)varID;
(*record).levelID = (short)levelID; record->levelID = (short)levelID;
varDefCompType(varID, comptype); varDefCompType(varID, comptype);
......
...@@ -555,8 +555,8 @@ void gribapiAddRecord(stream_t * streamptr, int param, grib_handle *gh, ...@@ -555,8 +555,8 @@ void gribapiAddRecord(stream_t * streamptr, int param, grib_handle *gh,
datatype, &varID, &levelID, tsteptype, numavg, leveltype1, leveltype2, datatype, &varID, &levelID, tsteptype, numavg, leveltype1, leveltype2,
varname, stdname, longname, units, tiles, &tile_index); varname, stdname, longname, units, tiles, &tile_index);
(*record).varID = (short)varID; record->varID = (short)varID;
(*record).levelID = (short)levelID; record->levelID = (short)levelID;
varDefCompType(varID, comptype); varDefCompType(varID, comptype);
......
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