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