Commit 18933dd7 authored by George Zagaris's avatar George Zagaris
Browse files

COMP: Resolve warning for converting to int from double

Change-Id: Ie68d9e1dceb75ef74db05a8f08a3180fbc7f7a1b
parent c02557d2
......@@ -462,7 +462,7 @@ int vtkAMRSliceFilter::GetDonorCellIdx( double x[3], vtkUniformGrid *ug )
int ijk[3];
for( int i=0; i < 3; ++i )
{
ijk[ i ] = floor( (x[i]-x0[i])/h[i] );
ijk[ i ] = static_cast<int>(floor( (x[i]-x0[i])/h[i] ));
}
int dims[3];
......
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