Author: thompsa
Date: Thu May  7 17:05:03 2009
New Revision: 191892
URL: http://svn.freebsd.org/changeset/base/191892

Log:
  Use a 32 bit type for the interface mask as this equals the max interface
  count.

Modified:
  head/sys/dev/usb/serial/u3g.c

Modified: head/sys/dev/usb/serial/u3g.c
==============================================================================
--- head/sys/dev/usb/serial/u3g.c       Thu May  7 16:43:49 2009        
(r191891)
+++ head/sys/dev/usb/serial/u3g.c       Thu May  7 17:05:03 2009        
(r191892)
@@ -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;
 
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to