Skip to content
Snippets Groups Projects
Commit aecd49df authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

cast void* to double*

parent c3280486
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment