mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-19 23:08:34 +03:00
host: fix various compiler warnings
This commit is contained in:
@@ -52,7 +52,8 @@ static int find_devices(void)
|
||||
perror("Cannot open device");
|
||||
continue;
|
||||
}
|
||||
rc = libusb_get_string_descriptor_ascii(dev_handle, m->string_idx, strbuf, sizeof(strbuf));
|
||||
rc = libusb_get_string_descriptor_ascii(dev_handle, m->string_idx,
|
||||
(unsigned char *)strbuf, sizeof(strbuf));
|
||||
libusb_close(dev_handle);
|
||||
if (rc < 0) {
|
||||
printf("\n");
|
||||
|
||||
Reference in New Issue
Block a user