mirror of https://github.com/FreeRDP/FreeRDP
[channel,urbdrc] fix type of usb hotplug callback
The libusb_hotplug_callback_fn uses LIBUSB_CALL call type
(cherry picked from commit c9b806ba47
)
This commit is contained in:
parent
f5c2485df2
commit
2466ddad84
|
@ -581,7 +581,7 @@ static BOOL device_is_filtered(struct libusb_device* dev,
|
|||
return filtered;
|
||||
}
|
||||
|
||||
static int hotplug_callback(struct libusb_context* ctx, struct libusb_device* dev,
|
||||
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;
|
||||
|
|
Loading…
Reference in New Issue