Fix some build warnings
This commit is contained in:
parent
87ba08602f
commit
ac921f8a29
8 changed files with 13 additions and 18 deletions
|
|
@ -73,7 +73,7 @@ void DetectSinowealthMouse(hid_device_info* info, const std::string& name)
|
|||
}
|
||||
else
|
||||
{
|
||||
for(int i = 0; i < usage_count; ++i)
|
||||
for(unsigned int i = 0; i < usage_count; ++i)
|
||||
{
|
||||
if(usages[i])
|
||||
{
|
||||
|
|
@ -109,7 +109,7 @@ void DetectSinowealthKeyboard(hid_device_info* info, const std::string& name)
|
|||
}
|
||||
else
|
||||
{
|
||||
for(int i = 0; i < usage_count; ++i)
|
||||
for(unsigned int i = 0; i < usage_count; ++i)
|
||||
{
|
||||
if(usages[i])
|
||||
{
|
||||
|
|
|
|||
|
|
@ -151,7 +151,7 @@ void SinowealthKeyboardController::SetLEDsDirect(std::vector<RGBColor> colors)
|
|||
/*-----------------------------------------------------*\
|
||||
| Fill in color data |
|
||||
\*-----------------------------------------------------*/
|
||||
for(int i = 0; i < num_keys; i++)
|
||||
for(unsigned int i = 0; i < num_keys; i++)
|
||||
{
|
||||
buf[tkl_keys_per_key_index[i]] = RGBGetBValue(colors[i]);
|
||||
buf[tkl_keys_per_key_index[i] + 0x7E] = RGBGetGValue(colors[i]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue