tracing: typecast sizeof and offsetof to unsigned int
authorSteven Rostedt <srostedt@redhat.com>
Fri, 6 Mar 2009 15:50:53 +0000 (10:50 -0500)
committerSteven Rostedt <srostedt@redhat.com>
Tue, 10 Mar 2009 04:34:03 +0000 (00:34 -0400)
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 <mingo@elte.hu>
Signed-off-by: Steven Rostedt <srostedt@redhat.com>

No differences found