commit | 319fe7c347ad2bdd99ea9b62c65ca81584ed2e1c | [log] [tgz] |
---|---|---|
author | Jiri Slaby <jirislaby@gmail.com> | Thu Feb 07 00:16:36 2008 -0800 |
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | Thu Feb 07 08:42:33 2008 -0800 |
tree | 5dda5fff40846f895be81f31eda54aa06e0357c9 | |
parent | f31e6835054f577d4d3193aed1f464b149483377 [diff] |
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>