From: Anthony Geay Date: Mon, 17 Feb 2020 12:02:16 +0000 (+0100) Subject: Fix compilation problem when vtkIdType is 64bits integer X-Git-Tag: V9_5_0a1~12 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=847109ca105992b415893dd2ef416b45e258b537;p=modules%2Fsmesh.git Fix compilation problem when vtkIdType is 64bits integer --- diff --git a/src/SMDS/SMDS_BallElement.cxx b/src/SMDS/SMDS_BallElement.cxx index f73b4ec76..86dc634c7 100644 --- a/src/SMDS/SMDS_BallElement.cxx +++ b/src/SMDS/SMDS_BallElement.cxx @@ -29,7 +29,7 @@ void SMDS_BallElement::init(const SMDS_MeshNode * node, double diameter ) { - int nodeVtkID = node->GetVtkID(); + vtkIdType nodeVtkID = node->GetVtkID(); int vtkID = getGrid()->InsertNextLinkedCell( toVtkType( SMDSEntity_Ball ), 1, &nodeVtkID ); setVtkID( vtkID ); getGrid()->SetBallDiameter( GetVtkID(), diameter );