Skip to content

Commit fea2357

Browse files
authored
libusb: use LIBUSB_CALL for the read_callback function (#569)
1 parent 5eb5544 commit fea2357

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libusb/hid.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,7 @@ hid_device * hid_open(unsigned short vendor_id, unsigned short product_id, const
835835
return handle;
836836
}
837837

838-
static void read_callback(struct libusb_transfer *transfer)
838+
static void LIBUSB_CALL read_callback(struct libusb_transfer *transfer)
839839
{
840840
hid_device *dev = transfer->user_data;
841841
int res;

0 commit comments

Comments
 (0)