Skip to content
Snippets Groups Projects
Commit 48f2dc0c authored by Andrew Bauer's avatar Andrew Bauer
Browse files

Fixing overflow issue that appeared with GCC compilers.

Thanks to Michael Stephens for the report and fix.

Change-Id: Ibe68819a81b011d3e3b0d8fefc2bc122834e8602
parent b4da45c5
No related branches found
No related tags found
No related merge requests found
......@@ -375,7 +375,7 @@ long vtkMultiBlockPLOT3DReaderInternals::CalculateFileSizeForBlock(int precision
{
long size = 0;
// x, y, (z)
int npts = 1;
long npts = 1;
for (int i=0; i<ndims; i++)
{
npts *= gridDims[i];
......
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