Use a 32 bit type for the interface mask as this equals the max interface
count.
This commit is contained in:
parent
096ed42dad
commit
822e5d76f8
@ -440,7 +440,8 @@ u3g_attach(device_t dev)
|
||||
struct u3g_softc *sc = device_get_softc(dev);
|
||||
struct usb2_interface *iface;
|
||||
struct usb2_interface_descriptor *id;
|
||||
int error, iface_valid, flags, nports;
|
||||
uint32_t iface_valid;
|
||||
int error, flags, nports;
|
||||
int ep, n;
|
||||
uint8_t i;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user