PERFORCE change 113105 for review

Hans Petter Selasky hselasky at FreeBSD.org
Thu Jan 18 10:40:45 UTC 2007


http://perforce.freebsd.org/chv.cgi?CH=113105

Change 113105 by hselasky at 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;
 


More information about the p4-projects mailing list