Skip to content

Commit ffe07bb

Browse files
Fix warning in RazerKrakenV3Controller
1 parent 7fdb006 commit ffe07bb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Controllers/RazerController/RazerKrakenV3Controller/RazerKrakenV3Controller.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ void RazerKrakenV3Controller::SetModeBreathing(std::vector<RGBColor> colors)
161161
{
162162
razer_kraken_v3_request_report report = razer_kraken_create_v3_report();
163163

164-
unsigned char led_count = colors.size();
164+
unsigned char led_count = (unsigned char)colors.size();
165165

166166
// 0 1 2 3 4 5 6 7 8 9 0 1 2
167167
// 400101000101ff000000000000

0 commit comments

Comments
 (0)