mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2025-06-03 00:00:20 +00:00
urbdrc: fix compilation against libusb
This commit is contained in:
parent
8e64d1803b
commit
6f61ef8772
@ -1287,8 +1287,7 @@ libusb_udev_isoch_transfer(IUDEVICE * idev, uint32 RequestId, uint32 EndpointAdd
|
||||
*BufferSize,
|
||||
NumberOfPackets,
|
||||
func_iso_callback,
|
||||
&iso_user_data,
|
||||
TransferFlags,
|
||||
&iso_user_data,
|
||||
2000);
|
||||
|
||||
libusb_set_iso_packet_lengths(iso_transfer, iso_packet_size);
|
||||
@ -1448,8 +1447,7 @@ libusb_udev_bulk_or_interrupt_transfer(IUDEVICE * idev, uint32 RequestId,
|
||||
Buffer,
|
||||
*BufferSize,
|
||||
func_bulk_transfer_cb,
|
||||
&completed,
|
||||
TransferFlags,
|
||||
&completed,
|
||||
Timeout);
|
||||
|
||||
transfer->type = (unsigned char)transfer_type;
|
||||
|
Loading…
Reference in New Issue
Block a user