mirror of
https://github.com/RPCS3/hidapi.git
synced 2026-01-31 01:25:21 +01:00
Remove excess incorrect space
Co-Authored-By: Filip Kubicz <Qbicz@users.noreply.github.com>
This commit is contained in:
@@ -737,7 +737,7 @@ static void read_callback(struct libusb_transfer *transfer)
|
||||
if (transfer->status == LIBUSB_TRANSFER_COMPLETED) {
|
||||
|
||||
struct input_report *rpt = (struct input_report*) malloc(sizeof(*rpt));
|
||||
rpt->data = (uint8_t *) malloc(transfer->actual_length);
|
||||
rpt->data = (uint8_t*) malloc(transfer->actual_length);
|
||||
memcpy(rpt->data, transfer->buffer, transfer->actual_length);
|
||||
rpt->len = transfer->actual_length;
|
||||
rpt->next = NULL;
|
||||
|
||||
Reference in New Issue
Block a user