mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-10-21 08:05:03 -04:00
Fix possible loss of data warning in NZXTHuePlusController.cpp
This commit is contained in:
1 parent
b824dbb9db
commit
93f1a18b52
1 file changed
+1
-1
@@ -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