You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In file included from .\hid_enabled.go:40:
./hidapi/windows/hid.c: In function 'hid_enumerate':
./hidapi/windows/hid.c:431:5: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=]
strncpy(cur_dev->path, str, len+1);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./hidapi/windows/hid.c:429:11: note: length computed here
len = strlen(str);
^~~~~~~~~~~
The text was updated successfully, but these errors were encountered:
$ go build
github.com/karalabe/hid
In file included from .\hid_enabled.go:40:
./hidapi/windows/hid.c: In function 'hid_enumerate':
./hidapi/windows/hid.c:431:5: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=]
strncpy(cur_dev->path, str, len+1);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./hidapi/windows/hid.c:429:11: note: length computed here
len = strlen(str);
^~~~~~~~~~~
The text was updated successfully, but these errors were encountered: