diff options
Diffstat (limited to 'usr.sbin/bluetooth/bthidd')
-rw-r--r-- | usr.sbin/bluetooth/bthidd/parser.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bluetooth/bthidd/parser.y b/usr.sbin/bluetooth/bthidd/parser.y index 8d95f4e..8f704a6 100644 --- a/usr.sbin/bluetooth/bthidd/parser.y +++ b/usr.sbin/bluetooth/bthidd/parser.y @@ -189,7 +189,7 @@ hid_descriptor: T_HID_DESCRIPTOR if (hid_device->desc != NULL) hid_dispose_report_desc(hid_device->desc); - hid_device->desc = hid_use_report_desc(buffer, hid_descriptor_size); + hid_device->desc = hid_use_report_desc((unsigned char *) buffer, hid_descriptor_size); if (hid_device->desc == NULL) { SYSLOG(LOGCRIT, "Could not use HID descriptor" EOL); YYABORT; |