Skip to content

Commit 815924b

Browse files
Fix warning in LogitechProtocolCommon.cpp
1 parent b64b856 commit 815924b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Controllers/LogitechController/LogitechProtocolCommon.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,7 @@ uint8_t logitech_device::setMode(uint8_t mode, uint16_t speed, uint8_t zone, uin
749749
set_mode.init(
750750
device_index,
751751
RGB_feature_index,
752-
(fp8070 ? LOGITECH_FP8070_SET_EFFECT : LOGITECH_FP8071_SET_LED_EFFECT)
752+
(fp8070 ? (uint8_t)LOGITECH_FP8070_SET_EFFECT : (uint8_t)LOGITECH_FP8071_SET_LED_EFFECT)
753753
);
754754
set_mode.data[0] = zone;
755755
set_mode.data[1] = mode;

0 commit comments

Comments
 (0)