Commit aecd49df authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

cast void* to double*

parent c3280486
......@@ -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);
......
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