From 847109ca105992b415893dd2ef416b45e258b537 Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Mon, 17 Feb 2020 13:02:16 +0100 Subject: [PATCH] Fix compilation problem when vtkIdType is 64bits integer --- src/SMDS/SMDS_BallElement.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.39.2