diff --git a/src/OBJECT/SMESH_ScalarBarActor.h b/src/OBJECT/SMESH_ScalarBarActor.h index 6bcd2fb5a..77546227f 100644 --- a/src/OBJECT/SMESH_ScalarBarActor.h +++ b/src/OBJECT/SMESH_ScalarBarActor.h @@ -122,7 +122,7 @@ class SMESHOBJECT_EXPORT SMESH_ScalarBarActor: public vtkActor2D { // Set/Get the maximum number of scalar bar segments to show. This may // differ from the number of colors in the lookup table, in which case // the colors are samples from the lookup table. - vtkSetClampMacro(MaximumNumberOfColors, int, 2, VTK_LARGE_INTEGER); + vtkSetClampMacro(MaximumNumberOfColors, int, 2, VTK_INT_MAX); vtkGetMacro(MaximumNumberOfColors, int); // Description: