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
aecd49df
Commit
aecd49df
authored
May 28, 2014
by
Uwe Schulzweida
Browse files
cast void* to double*
parent
c3280486
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/stream_grb.c
View file @
aecd49df
...
...
@@ -620,7 +620,7 @@ int grb_write_var_slice(stream_t *streamptr, int varID, int levelID, int memtype
}
nbytes
=
grbEncode
(
filetype
,
varID
,
levelID
,
vlistID
,
gridID
,
zaxisID
,
date
,
time
,
tsteptype
,
numavg
,
datasize
,
data
,
nmiss
,
&
gribbuffer
,
ljpeg
,
gc
);
datasize
,
(
const
double
*
)
data
,
nmiss
,
&
gribbuffer
,
ljpeg
,
gc
);
if
(
streamptr
->
comptype
==
COMPRESS_SZIP
)
nbytes
=
grbSzip
(
filetype
,
gribbuffer
,
nbytes
);
...
...
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