mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-03-29 11:21:08 -04:00
Fix signedness warning in KasaSmartController
This commit is contained in:
@@ -161,7 +161,7 @@ void KasaSmartController::SetColor(unsigned char red, unsigned char green, unsig
|
||||
| Normalize case where hue is "-1" undefined |
|
||||
\*------------------------------------------*/
|
||||
unsigned int normalized_hue = hsv.hue;
|
||||
if(hsv.hue == -1)
|
||||
if(hsv.hue == (int)-1)
|
||||
{
|
||||
normalized_hue = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user