Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb A little const poisoning. (From FreeBSD.)
details: https://anonhg.NetBSD.org/src/rev/9cbb18add4ac
branches: trunk
changeset: 522092:9cbb18add4ac
user: augustss <augustss%NetBSD.org@localhost>
date: Mon Feb 11 12:42:48 2002 +0000
description:
A little const poisoning. (From FreeBSD.)
diffstat:
sys/dev/usb/usbdi.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r e2490327a5da -r 9cbb18add4ac sys/dev/usb/usbdi.c
--- a/sys/dev/usb/usbdi.c Mon Feb 11 12:32:43 2002 +0000
+++ b/sys/dev/usb/usbdi.c Mon Feb 11 12:42:48 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: usbdi.c,v 1.94 2001/12/30 20:26:59 augustss Exp $ */
+/* $NetBSD: usbdi.c,v 1.95 2002/02/11 12:42:48 augustss Exp $ */
/* $FreeBSD: src/sys/dev/usb/usbdi.c,v 1.28 1999/11/17 22:33:49 n_hibma Exp $ */
/*
@@ -39,7 +39,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: usbdi.c,v 1.94 2001/12/30 20:26:59 augustss Exp $");
+__KERNEL_RCSID(0, "$NetBSD: usbdi.c,v 1.95 2002/02/11 12:42:48 augustss Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -1135,7 +1135,7 @@
if (tbl->ud_vendor == vendor &&
(tproduct == product || tproduct == USB_PRODUCT_ANY))
return (tbl);
- tbl = (struct usb_devno *)((char *)tbl + sz);
+ tbl = (const struct usb_devno *)((const char *)tbl + sz);
}
return (NULL);
}
Home |
Main Index |
Thread Index |
Old Index