Commit f31cf22e authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Fix cast of function return value.

parent 95f46334
......@@ -28,9 +28,9 @@ computeClientStreamBufSize(int streamID, const struct collSpec *collector)
size_t chunkSize;
{
int varSize = vlistInqVarSize(vlistID, (int)varID);
chunkSize = (size_t)ceilf(cdiPIOpartInflate_
* (float)varSize
/ (float)collector->numClients);
chunkSize = (size_t)(ceilf(cdiPIOpartInflate_
* (float)varSize
/ (float)collector->numClients));
}
rmaSizeSpec.numDataRecords += 2;
rmaSizeSpec.bufSize += chunkSize * sizeof (double)
......
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