hidapi/libusb/hid.c: In function 'get_usb_string':
hidapi/libusb/hid.c:353:18: warning: passing argument 2 of 'libiconv' from incompatible pointer type [-Wincompatible-pointer-types]
res = iconv(ic, &inptr, &inbytes, &outptr, &outbytes);
^
In file included from hidapi/libusb/hid.c:48:0:
/usr/local/include/iconv.h:85:15: note: expected 'char **' but argument is of type 'const char **'
extern size_t iconv (iconv_t cd, char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft);
^
When I build blink1-tool on FreeBSD (with https://github.com/todbot/blink1-tool/pull/14 merged), I get the following compiler warning: