From: Steven Rostedt Date: Fri, 6 Mar 2009 15:50:53 +0000 (-0500) Subject: tracing: typecast sizeof and offsetof to unsigned int X-Git-Tag: v2.6.30-rc1~2^2~52^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=156b5f172a64103bcb13b6d26288388b9019caa3;p=pandora-kernel.git tracing: typecast sizeof and offsetof to unsigned int Impact: fix compiler warnings On x86_64 sizeof and offsetof are treated as long, where as on x86_32 they are int. This patch typecasts them to unsigned int to avoid one arch giving warnings while the other does not. Reported-by: Ingo Molnar Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed