]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/hantek-dso/api.c
windows: Fix various compiler warnings.
[libsigrok.git] / src / hardware / hantek-dso / api.c
index f29d4a0ec22dc513c1f8063118baf367403cddcd..47907d8e1754f36a84eceda01365a9469c1e78fb 100644 (file)
@@ -769,7 +769,7 @@ static void send_chunk(struct sr_dev_inst *sdi, unsigned char *buf,
  * queued up beforehand, so this just needs to chuck the incoming data onto
  * the libsigrok session bus.
  */
-static void receive_transfer(struct libusb_transfer *transfer)
+static void LIBUSB_CALL receive_transfer(struct libusb_transfer *transfer)
 {
        struct sr_datafeed_packet packet;
        struct sr_dev_inst *sdi;