mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[channel,urbdrc] fix type of usb hotplug callback
The libusb_hotplug_callback_fn uses LIBUSB_CALL call type
This commit is contained in:
committed by
Martin Fleisz
parent
7027699a5c
commit
25b00bc483
@@ -578,8 +578,8 @@ static BOOL device_is_filtered(struct libusb_device* dev,
|
||||
return filtered;
|
||||
}
|
||||
|
||||
static int hotplug_callback(struct libusb_context* ctx, struct libusb_device* dev,
|
||||
libusb_hotplug_event event, void* user_data)
|
||||
static int LIBUSB_CALL hotplug_callback(struct libusb_context* ctx, struct libusb_device* dev,
|
||||
libusb_hotplug_event event, void* user_data)
|
||||
{
|
||||
VID_PID_PAIR pair;
|
||||
struct libusb_device_descriptor desc;
|
||||
|
||||
Reference in New Issue
Block a user