Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
e25f2204
Commit
e25f2204
authored
Jan 12, 2016
by
Thomas Jahns
🤸
Browse files
Fix alignment of record_t.
parent
85799729
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/cdi_int.h
View file @
e25f2204
...
...
@@ -151,7 +151,7 @@ typedef struct
int
ilevel
;
int
ilevel2
;
int
ltype
;
int
tsteptype
;
short
tsteptype
;
short
used
;
short
varID
;
short
levelID
;
...
...
src/stream_cgribex.c
View file @
e25f2204
...
...
@@ -383,7 +383,7 @@ void cgribexAddRecord(stream_t * streamptr, int param, int *isec1, int *isec2, d
record
->
ilevel
=
level1
;
record
->
ilevel2
=
level2
;
record
->
ltype
=
ISEC1_LevelType
;
record
->
tsteptype
=
tsteptype
;
record
->
tsteptype
=
(
short
)
tsteptype
;
cgribexGetGrid
(
streamptr
,
isec2
,
fsec2
,
isec4
,
grid
,
iret
);
...
...
src/stream_gribapi.c
View file @
e25f2204
...
...
@@ -444,7 +444,7 @@ void gribapiAddRecord(stream_t * streamptr, int param, grib_handle *gh,
record
->
ilevel
=
level1
;
record
->
ilevel2
=
level2
;
record
->
ltype
=
leveltype1
;
record
->
tsteptype
=
tsteptype
;
record
->
tsteptype
=
(
short
)
tsteptype
;
record
->
tiles
=
tiles
?
*
tiles
:
dummy_tiles
;
//FIXME: This may leave the variable name unterminated (which is the behavior that I found in the code).
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment