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,
|
*BufferSize,
|
||||||
NumberOfPackets,
|
NumberOfPackets,
|
||||||
func_iso_callback,
|
func_iso_callback,
|
||||||
&iso_user_data,
|
&iso_user_data,
|
||||||
TransferFlags,
|
|
||||||
2000);
|
2000);
|
||||||
|
|
||||||
libusb_set_iso_packet_lengths(iso_transfer, iso_packet_size);
|
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,
|
Buffer,
|
||||||
*BufferSize,
|
*BufferSize,
|
||||||
func_bulk_transfer_cb,
|
func_bulk_transfer_cb,
|
||||||
&completed,
|
&completed,
|
||||||
TransferFlags,
|
|
||||||
Timeout);
|
Timeout);
|
||||||
|
|
||||||
transfer->type = (unsigned char)transfer_type;
|
transfer->type = (unsigned char)transfer_type;
|
||||||
|
Loading…
Reference in New Issue
Block a user