Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jan 2007 10:40:44 GMT
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 113105 for review
Message-ID:  <200701181040.l0IAei63036714@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=113105

Change 113105 by hselasky@hselasky_mini_itx on 2007/01/18 10:40:02

	Use unsigned type for counting the number of devices.

Affected files ...

.. //depot/projects/usb/src/sys/kern/subr_bus.c#5 edit

Differences ...

==== //depot/projects/usb/src/sys/kern/subr_bus.c#5 (text+ko) ====

@@ -1848,8 +1848,8 @@
 int
 device_get_children(device_t dev, device_t **devlistp, int *devcountp)
 {
-	int count;
-	int n;
+	uint32_t count;
+	uint32_t n;
 	device_t child;
 	device_t *list;
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701181040.l0IAei63036714>