Clean up warnings, except in hidapi and cli files

This commit is contained in:
Adam Honse 2020-03-20 12:10:18 -05:00
parent 745bbac93b
commit aa182936ba
40 changed files with 117 additions and 131 deletions

View file

@ -27,7 +27,7 @@ void ThermaltakeRiingController::SetChannelLEDs(unsigned char channel, RGBColor
{
unsigned char* color_data = new unsigned char[3 * num_colors];
for(int color = 0; color < num_colors; color++)
for(std::size_t color = 0; color < num_colors; color++)
{
int color_idx = color * 3;
color_data[color_idx + 0] = RGBGetGValue(colors[color]);