Char: stallion, fix compiler warnings
commit319fe7c347ad2bdd99ea9b62c65ca81584ed2e1c
authorJiri Slaby <jirislaby@gmail.com>
Thu, 7 Feb 2008 08:16:36 +0000 (7 00:16 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 7 Feb 2008 16:42:33 +0000 (7 08:42 -0800)
tree5dda5fff40846f895be81f31eda54aa06e0357c9
parentf31e6835054f577d4d3193aed1f464b149483377
Char: stallion, fix compiler warnings

Don't emit warnings on 64 bit platforms from min(). sizeof() on those
is not uint, neither 2 pointers difference, cast it to uint by min_t in
both cases.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/stallion.c