Permalink
Browse files

usb_hid.c: Fix a warning from SDCC 3.6.0.

  • Loading branch information...
DavidEGrayson committed Jun 16, 2016
1 parent bf1e883 commit 513d976863a7be68cce523422735dd4a98a3435e
Showing with 1 addition and 1 deletion.
  1. +1 −1 libraries/src/usb_hid/usb_hid.c
@@ -198,7 +198,7 @@ uint8 CODE mouseReportDescriptor[]
HID_USAGE, HID_USAGE_X,
HID_USAGE, HID_USAGE_Y,
HID_USAGE, HID_USAGE_WHEEL,
- HID_LOGICAL_MIN, -127,
+ HID_LOGICAL_MIN, (uint8)-127,
HID_LOGICAL_MAX, 127,
HID_INPUT, (HID_ITEM_VARIABLE | HID_ITEM_RELATIVE),

0 comments on commit 513d976

Please sign in to comment.