1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
From 9a33a16d68a0b5e45e7a3f7cde0bd7ba261519b1 Mon Sep 17 00:00:00 2001
From: Youssef <youssef@airspy.com>
Date: Tue, 30 Aug 2022 09:52:28 +0200
Subject: [PATCH 08/46] Add explicit calling convention for libusb
---
libairspyhf/src/airspyhf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libairspyhf/src/airspyhf.c b/libairspyhf/src/airspyhf.c
index 3f224d6..2582b99 100644
--- a/libairspyhf/src/airspyhf.c
+++ b/libairspyhf/src/airspyhf.c
@@ -404,7 +404,7 @@ static void* consumer_threadproc(void *arg)
return NULL;
}
-static void airspyhf_libusb_transfer_callback(struct libusb_transfer* usb_transfer)
+static void LIBUSB_CALL airspyhf_libusb_transfer_callback(struct libusb_transfer* usb_transfer)
{
airspyhf_complex_int16_t *temp;
airspyhf_device_t* device = (airspyhf_device_t*) usb_transfer->user_data;
--
2.47.3
|