Fix signed/unsigned mismatch warning in RGBController_ColorfulTuringGPU.cpp
This commit is contained in:
parent
27c798fb22
commit
ef9170ac9a
1 changed files with 3 additions and 3 deletions
|
|
@ -79,15 +79,15 @@ RGBController_ColorfulTuringGPU::~RGBController_ColorfulTuringGPU()
|
|||
|
||||
int RGBController_ColorfulTuringGPU::getModeIndex(int mode_value)
|
||||
{
|
||||
for(int mode_index = 0; mode_index < modes.size(); mode_index++)
|
||||
for(unsigned int mode_index = 0; mode_index < modes.size(); mode_index++)
|
||||
{
|
||||
if(modes[mode_index].value == mode_value)
|
||||
{
|
||||
return mode_index;
|
||||
return(mode_index);
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
return(0);
|
||||
}
|
||||
|
||||
void RGBController_ColorfulTuringGPU::SetupZones()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue