]> sigrok.org Git - libsigrok.git/commit
windows: Fix various compiler warnings.
authorUwe Hermann <redacted>
Sun, 12 Apr 2015 17:28:03 +0000 (19:28 +0200)
committerUwe Hermann <redacted>
Sun, 12 Apr 2015 17:28:36 +0000 (19:28 +0200)
commit55462b8ba9f48931de9b9a7bfbc182a1d113b3b5
tree3e1ca5e04b3ef2ab40d839a72e1437fd981ccb7d
parent76598cda5465e74e7427b5613f5859f02c2d2ad6
windows: Fix various compiler warnings.

Add LIBUSB_CALL where needed to avoid warnings such as the following:

  In file included from src/hardware/hantek-dso/api.c:34:0:
  src/hardware/hantek-dso/dso.h:212:13:
  note: expected 'libusb_transfer_cb_fn' but argument is of type 'void (*)(struct libusb_transfer *)'
   SR_PRIV int dso_get_channeldata(const struct sr_dev_inst *sdi,
               ^
19 files changed:
src/hardware/fx2lafw/api.c
src/hardware/fx2lafw/protocol.c
src/hardware/fx2lafw/protocol.h
src/hardware/hantek-dso/api.c
src/hardware/ikalogic-scanalogic2/protocol.c
src/hardware/ikalogic-scanalogic2/protocol.h
src/hardware/kecheng-kc-330b/protocol.c
src/hardware/kecheng-kc-330b/protocol.h
src/hardware/lascar-el-usb/api.c
src/hardware/lascar-el-usb/protocol.c
src/hardware/lascar-el-usb/protocol.h
src/hardware/saleae-logic16/protocol.c
src/hardware/saleae-logic16/protocol.h
src/hardware/sysclk-lwla/protocol.c
src/hardware/testo/api.c
src/hardware/testo/protocol.h
src/hardware/uni-t-ut32x/protocol.c
src/hardware/uni-t-ut32x/protocol.h
src/hardware/victor-dmm/api.c