]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Fix compilation problem when vtkIdType is 64bits integer
authorAnthony Geay <anthony.geay@edf.fr>
Mon, 17 Feb 2020 12:02:16 +0000 (13:02 +0100)
committerAnthony Geay <anthony.geay@edf.fr>
Mon, 17 Feb 2020 12:02:16 +0000 (13:02 +0100)
src/SMDS/SMDS_BallElement.cxx

index f73b4ec762318ead11379e39452dc44de9b5e3a0..86dc634c7a14b0efc58280b2cf77340d738e400e 100644 (file)
@@ -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 );