mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-10-18 23:07:56 -04:00
Fix possible loss of data warning in RGBController_MSIMysticLight64.cpp
This commit is contained in:
1 parent
448e019702
commit
fed58b3dc1
1 file changed
+1
-1
+1
-1
@@ -85,7 +85,7 @@ void RGBController_MSIMysticLight64::DeviceUpdateLEDs()
|
||||
unsigned int num_colors = 0;
|
||||
if(Mode.flags & MODE_FLAG_HAS_MODE_SPECIFIC_COLOR)
|
||||
{
|
||||
num_colors = Mode.colors.size();
|
||||
num_colors = (unsigned int)Mode.colors.size();
|
||||
for(unsigned int i = 0; i < num_colors; i++)
|
||||
{
|
||||
led_colors[i].R = RGBGetRValue(Mode.colors[i]);
|
||||
|
||||
Reference in new issue
Block a user