Commit 6076de50 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

pipeReadPipeRecord: changed type of datasize to size_t.

parent 24fbb09c
......@@ -920,6 +920,7 @@ void print_system_info()
fprintf(stderr, "\n");
fprintf(stderr, "sizeof(size_t) = %zu\n", sizeof(size_t));
fprintf(stderr, "mem alignment = %d\n\n", getMemAlignment());
#if defined(HAVE_MMAP)
......@@ -407,7 +407,7 @@ pipe_t::pipeReadPipeRecord(double *p_data, int vlistID, size_t *p_nmiss)
if (!p_data)
Error("No data pointer for %s", name.c_str());
int datasize = gridInqSize(vlistInqVarGrid(vlistID, varID));
size_t datasize = gridInqSize(vlistInqVarGrid(vlistID, varID));
nvals += datasize;
if (vlistNumber(vlistID) != CDI_REAL)
datasize *= 2;
Supports Markdown
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