mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-10-20 07:35:03 -04:00
Fix signedness warning in KasaSmartController
This commit is contained in:
1 parent
0fae77b898
commit
9d97c8ca74
1 file changed
+1
-1
@@ -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