void cpExtensions::Visualization::LUTImageActor::
SetLUTColor( unsigned int id, double r, double g, double b, double a )
{
- if( id >= this->m_LUT->GetNumberOfTableValues( ) )
+ if( id >= ( unsigned int )( this->m_LUT->GetNumberOfTableValues( ) ) )
this->m_LUT->SetNumberOfTableValues( id + 1 );
this->m_LUT->SetTableValue( id, r, g, b, a );
this->m_LUT->Modified( );