Use a 32 bit type for the interface mask as this equals the max interface

count.
This commit is contained in:
Andrew Thompson 2009-05-07 17:05:03 +00:00
parent 096ed42dad
commit 822e5d76f8

View File

@ -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;