mirror of
https://github.com/RPCS3/libusb.git
synced 2024-11-23 10:09:41 +00:00
examples: testlibusb: Fix DDK build warning
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
This commit is contained in:
parent
dc5e33e382
commit
f69255217c
@ -67,7 +67,7 @@ static void print_endpoint(const struct libusb_endpoint_descriptor *endpoint)
|
||||
|
||||
static void print_altsetting(const struct libusb_interface_descriptor *interface)
|
||||
{
|
||||
int i;
|
||||
uint8_t i;
|
||||
|
||||
printf(" Interface:\n");
|
||||
printf(" bInterfaceNumber: %d\n", interface->bInterfaceNumber);
|
||||
@ -151,7 +151,7 @@ static void print_interface(const struct libusb_interface *interface)
|
||||
|
||||
static void print_configuration(struct libusb_config_descriptor *config)
|
||||
{
|
||||
int i;
|
||||
uint8_t i;
|
||||
|
||||
printf(" Configuration:\n");
|
||||
printf(" wTotalLength: %d\n", config->wTotalLength);
|
||||
@ -171,7 +171,8 @@ static int print_device(libusb_device *dev, int level)
|
||||
libusb_device_handle *handle = NULL;
|
||||
char description[256];
|
||||
char string[256];
|
||||
int ret, i;
|
||||
int ret;
|
||||
uint8_t i;
|
||||
|
||||
ret = libusb_get_device_descriptor(dev, &desc);
|
||||
if (ret < 0) {
|
||||
|
@ -1 +1 @@
|
||||
#define LIBUSB_NANO 11310
|
||||
#define LIBUSB_NANO 11311
|
||||
|
Loading…
Reference in New Issue
Block a user