From: Jiri Slaby Date: Thu, 7 Feb 2008 08:16:36 +0000 (-0800) Subject: Char: stallion, fix compiler warnings X-Git-Tag: v2.6.25-rc1~319 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=319fe7c347ad2bdd99ea9b62c65ca81584ed2e1c;p=pandora-kernel.git 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 Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed