From d1be4288d333ad2cb4f7efe1dbe90ede213a42a0 Mon Sep 17 00:00:00 2001 From: Adam Honse Date: Tue, 30 Jul 2024 00:01:16 -0500 Subject: [PATCH] Fix signed/unsigned mismatch warning in SkyloongGK104ProController.cpp --- Controllers/SkyloongController/SkyloongGK104ProController.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Controllers/SkyloongController/SkyloongGK104ProController.cpp b/Controllers/SkyloongController/SkyloongGK104ProController.cpp index 7ade92bfd..69335b24c 100644 --- a/Controllers/SkyloongController/SkyloongGK104ProController.cpp +++ b/Controllers/SkyloongController/SkyloongGK104ProController.cpp @@ -63,7 +63,7 @@ void SkyloongGK104ProController::SendColorPacket(std::vector colors, s unsigned char le_data[TOTAL_LED_BYTES]; memset(le_data, 0x00, TOTAL_LED_BYTES); - for(int i = 0; i < leds->size(); i++) + for(unsigned int i = 0; i < leds->size(); i++) { int index = leds->at(i).value * 4; le_data[index++] = RGBGetRValue(colors[i]);