commit | 38ffdd62b0f466ef9126ac9f060ade5f218b4887 | [log] [tgz] |
---|---|---|
author | Pete Zaitcev <zaitcev@redhat.com> | Sat Sep 24 13:10:16 2005 -0700 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Oct 28 16:47:38 2005 -0700 |
tree | 4f636beb7bcc713e0f454058541850b4cabf69fa | |
parent | e639dd3f4edd4847d160899b19e95ee1a06a6dcb [diff] |
[PATCH] ub: suppress gcc warnings for pointer casts When building on a 64-bit platform, gcc produces a warning "cast of a pointer to an integer of a different size". The scatterlist.offset on the LHS is unsigned int, so I used that originally. Signed-off-by: Pete Zaitcev <zaitcev@yahoo.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> drivers/block/ub.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)