]> err.no Git - linux-2.6/commit
[PATCH] USB: libusual: fix warning on 64bit boxes
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Tue, 17 Jan 2006 23:39:25 +0000 (15:39 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 1 Feb 2006 01:23:43 +0000 (17:23 -0800)
commit6d453b9e3007da2c6cd8b71883505c381f0e0004
treeef4d11da426e7fe9be62e44785833964c554b535
parent5d68dfcf3a1c2c4a74e6f08362ade5b97637147d
[PATCH] USB: libusual: fix warning on 64bit boxes

We cast an int to a void * which not unreasonably makes gcc suspicious.
We don't actually care what type "type" is so use unsigned long so it
matches pointer length on all platforms.

Signed-off-by: Alan Cox <alan@redhat.com>
Acked-by: Pete Zaitcev <zaitcev@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/storage/libusual.c