mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-04-04 14:14:17 -04:00
Fix possible loss of data warning in NZXTHue1Controller.cpp
This commit is contained in:
@@ -98,7 +98,7 @@ void NZXTHue1Controller::SetEffect
|
||||
/*-----------------------------------------------------*\
|
||||
| Send mode and color data |
|
||||
\*-----------------------------------------------------*/
|
||||
SendPacket(mode, direction, color_idx, speed, 40, &color_data[0]);
|
||||
SendPacket(mode, direction, (unsigned char)color_idx, speed, 40, &color_data[0]);
|
||||
}
|
||||
}
|
||||
/*-----------------------------------------------------*\
|
||||
|
||||
Reference in New Issue
Block a user