From foo@baz Tue Apr 9 12:12:43 2002 To: Greg KH Date: 24 Mar 2005 00:44:28 -08:00 From: gregkh@suse.de Subject: USB: fix build warning in usb core as pointed out by Andrew. Signed-off-by: Greg Kroah-Hartman Index: gregkh-2.6/drivers/usb/core/usb.c =================================================================== --- gregkh-2.6.orig/drivers/usb/core/usb.c 2005-04-20 21:38:21.000000000 -0700 +++ gregkh-2.6/drivers/usb/core/usb.c 2005-04-20 21:38:28.000000000 -0700 @@ -492,7 +492,7 @@ */ struct usb_interface *usb_find_interface(struct usb_driver *drv, int minor) { - struct usb_interface *intf = (struct usb_interface *)minor; + struct usb_interface *intf = (struct usb_interface *)(long)minor; int ret; ret = driver_for_each_device(&drv->driver, NULL, &intf, __find_interface);