Fix possible loss of data warning in NZXTHue1Controller.cpp
This commit is contained in:
parent
ab0dfb0f6a
commit
31656bda27
1 changed files with 1 additions and 1 deletions
|
|
@ -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]);
|
||||
}
|
||||
}
|
||||
/*-----------------------------------------------------*\
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue