Skip to content

Commit a859837

Browse files
committed
fix
1 parent bb236dc commit a859837

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mac/hid.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1145,7 +1145,7 @@ static int get_report(hid_device *dev, IOHIDReportType type, unsigned char *data
11451145
unsigned char *report = data;
11461146
CFIndex report_length = length;
11471147
IOReturn res = kIOReturnSuccess;
1148-
const unsigned char report_id;
1148+
unsigned char report_id;
11491149

11501150
if (!data || (length == 0)) {
11511151
register_device_error(dev, "Zero buffer/length");

0 commit comments

Comments
 (0)