Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
ad598aba
Commit
ad598aba
authored
Apr 18, 2017
by
Thomas Jahns
🤸
Browse files
Fix implicit conversion.
parent
68537fab
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/stream_gribapi.c
View file @
ad598aba
...
...
@@ -500,7 +500,7 @@ void gribapiAddRecord(stream_t * streamptr, int param, grib_handle *gh,
grib_get_double
(
gh
,
"Latin1InDegrees"
,
&
lat_1
);
grib_get_double
(
gh
,
"Latin2InDegrees"
,
&
lat_2
);
grib_get_long
(
gh
,
"projectionCentreFlag"
,
&
projflag
);
bool
lsouth
=
gribbyte_get_bit
(
projflag
,
1
);
bool
lsouth
=
gribbyte_get_bit
(
(
int
)
projflag
,
1
);
if
(
lsouth
)
{
lat_1
=
-
lat_1
;
lat_2
=
-
lat_2
;
}
double
lat_0
=
lat_2
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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