Skip to content

Commit a704b08

Browse files
committed
Fix MSVC x86 build: add LIBUSB_CALL to libusb transfer callback
1 parent 8e61565 commit a704b08

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libhydrasdr/src/hydrasdr_shared.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ void hydrasdr_unpack_samples_reference(const uint16_t* input,
588588

589589
/* USB transfer callback */
590590

591-
static void hydrasdr_libusb_transfer_callback(struct libusb_transfer* usb_transfer)
591+
static void LIBUSB_CALL hydrasdr_libusb_transfer_callback(struct libusb_transfer* usb_transfer)
592592
{
593593
hydrasdr_streaming_t* stream = (hydrasdr_streaming_t*)usb_transfer->user_data;
594594

0 commit comments

Comments
 (0)