summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usbdi.h
diff options
context:
space:
mode:
authorhselasky <hselasky@FreeBSD.org>2012-04-02 10:50:42 +0000
committerhselasky <hselasky@FreeBSD.org>2012-04-02 10:50:42 +0000
commit126953ccbe190fe51094d1ccefda3226d1e5140c (patch)
tree70a9d586e75b3d8e087069f07020564df44b0b99 /sys/dev/usb/usbdi.h
parent56216c3bc99342baf89a814301e85dffe7a62a9b (diff)
downloadFreeBSD-src-126953ccbe190fe51094d1ccefda3226d1e5140c.zip
FreeBSD-src-126953ccbe190fe51094d1ccefda3226d1e5140c.tar.gz
Fix compiler warnings, mostly signed issues,
when USB modules are compiled with WARNS=9. MFC after: 1 weeks
Diffstat (limited to 'sys/dev/usb/usbdi.h')
-rw-r--r--sys/dev/usb/usbdi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/usbdi.h b/sys/dev/usb/usbdi.h
index 6446720e..653f395 100644
--- a/sys/dev/usb/usbdi.h
+++ b/sys/dev/usb/usbdi.h
@@ -567,7 +567,7 @@ void usbd_start_re_enumerate(struct usb_device *udev);
int usb_fifo_attach(struct usb_device *udev, void *priv_sc,
struct mtx *priv_mtx, struct usb_fifo_methods *pm,
- struct usb_fifo_sc *f_sc, uint16_t unit, uint16_t subunit,
+ struct usb_fifo_sc *f_sc, uint16_t unit, int16_t subunit,
uint8_t iface_index, uid_t uid, gid_t gid, int mode);
void usb_fifo_detach(struct usb_fifo_sc *f_sc);
int usb_fifo_alloc_buffer(struct usb_fifo *f, uint32_t bufsize,
OpenPOWER on IntegriCloud