summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2019-09-26 01:35:08 +0000
committerchristos <christos@NetBSD.org>2019-09-26 01:35:08 +0000
commit5eba6e825620291f8f2befeed6f2e6e4013f05b2 (patch)
treeed9500d29c9a7ca88a8633e28c92696d20ad4cf0 /sys/dev
parent1959fc9c00585d701177eb39e26b9df2f3e27a02 (diff)
subdevlen is an array length, make it unsigned
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/usb/usbdivar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/usbdivar.h b/sys/dev/usb/usbdivar.h
index 245cb72dfc9..130fcb07c8f 100644
--- a/sys/dev/usb/usbdivar.h
+++ b/sys/dev/usb/usbdivar.h
@@ -1,4 +1,4 @@
-/* $NetBSD: usbdivar.h,v 1.118 2019/01/27 02:08:42 pgoyette Exp $ */
+/* $NetBSD: usbdivar.h,v 1.119 2019/09/26 01:35:08 christos Exp $ */
/*
* Copyright (c) 1998, 2012 The NetBSD Foundation, Inc.
@@ -203,7 +203,7 @@ struct usbd_device {
const struct usbd_quirks
*ud_quirks; /* device quirks, always set */
struct usbd_hub *ud_hub; /* only if this is a hub */
- int ud_subdevlen; /* array length of following */
+ u_int ud_subdevlen; /* array length of following */
device_t *ud_subdevs; /* sub-devices */
int ud_nifaces_claimed; /* number of ifaces in use */
void *ud_hcpriv;