Fix incorrect const'ness of the ReportItem parameter in USB_SetHIDReportItemInfo().
[pub/lufa.git] / LUFA / Drivers / USB / Class / Host / HIDParser.c
index 71598b0..3c39e96 100644 (file)
@@ -312,7 +312,7 @@ bool USB_GetHIDReportItemInfo(const uint8_t* ReportData, HID_ReportItem_t* const
        return true;\r
 }\r
 \r
-void USB_SetHIDReportItemInfo(uint8_t* ReportData, const HID_ReportItem_t* ReportItem)\r
+void USB_SetHIDReportItemInfo(uint8_t* ReportData, HID_ReportItem_t* const ReportItem)\r
 {\r
        uint16_t DataBitsRem  = ReportItem->Attributes.BitSize;\r
        uint16_t CurrentBit   = ReportItem->BitOffset;\r