mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-06 03:18:13 +00:00
hidapi/libusb: use LIBUSB_CALL for the read_callback function
Signed-off-by: Sam Lantinga <slouken@libsdl.org>
This commit is contained in:
@@ -909,7 +909,7 @@ hid_device * hid_open(unsigned short vendor_id, unsigned short product_id, const
|
||||
return handle;
|
||||
}
|
||||
|
||||
static void read_callback(struct libusb_transfer *transfer)
|
||||
static void LIBUSB_CALL read_callback(struct libusb_transfer *transfer)
|
||||
{
|
||||
hid_device *dev = transfer->user_data;
|
||||
int res;
|
||||
|
Reference in New Issue
Block a user