Fix possible loss of data warning in NZXTHuePlusController.cpp

This commit is contained in:
Adam Honse 2024-07-29 23:54:14 -05:00
parent b824dbb9db
commit 93f1a18b52

View file

@ -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]);
}
}
/*-----------------------------------------------------*\