mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-10-20 07:35:03 -04:00
Fix possible loss of data warning in NZXTHue1Controller.cpp
This commit is contained in:
1 parent
ab0dfb0f6a
commit
31656bda27
1 file changed
+1
-1
@@ -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