From 4f26a426ab40de638cc8d70ac017672aecfcfb8c Mon Sep 17 00:00:00 2001 From: Josef Karthauser <joe@FreeBSD.org> Date: Mon, 11 Feb 2002 03:29:35 +0000 Subject: [PATCH] Quiet a qualifier warning. --- sys/dev/usb/uscanner.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/usb/uscanner.c b/sys/dev/usb/uscanner.c index df8ebbcfc338..66526952fc4d 100644 --- a/sys/dev/usb/uscanner.c +++ b/sys/dev/usb/uscanner.c @@ -171,7 +171,7 @@ static const struct uscan_info uscanner_devs[] = { {{ USB_VENDOR_VISIONEER, USB_PRODUCT_VISIONEER_8100 }, 0 }, {{ USB_VENDOR_VISIONEER, USB_PRODUCT_VISIONEER_8600 }, 0 }, }; -#define uscanner_lookup(v, p) ((struct uscan_info *)usb_lookup(uscanner_devs, v, p)) +#define uscanner_lookup(v, p) ((const struct uscan_info *)usb_lookup(uscanner_devs, v, p)) #define USCANNER_BUFFERSIZE 1024