Skip to content

Commit 7fdb006

Browse files
Fix warning in WootingV1KeyboardController
1 parent 99da577 commit 7fdb006

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Controllers/WootingKeyboardController/WootingV1KeyboardController/WootingV1KeyboardController.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ void WootingV1KeyboardController::SendDirect(RGBColor* colors, uint8_t colour_co
9898
unsigned char buffer3[RGB_RAW_BUFFER_SIZE] = {0};
9999
unsigned char buffer4[RGB_RAW_BUFFER_SIZE] = {0};
100100

101-
for(std::size_t index = 0; index < colour_count; index++)
101+
for(uint8_t index = 0; index < colour_count; index++)
102102
{
103103
unsigned char row = index / WOOTING_RGB_COLUMNS;
104104
unsigned char col = index % WOOTING_RGB_COLUMNS;

0 commit comments

Comments
 (0)