From a0e84ac41863a6f98ea31fa7d7701b24c5288c4b Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Wed, 3 Feb 2010 12:22:45 -0500 Subject: trace-graph: Fix compile warning on stupid guint64 and printf formats For some stupid reason glib defines guint64 inconsistantly on different platforms. Probably because the developers don't even test on more than one box. This patch adds u64 as unsigned long long and uses this to typecast the output for printf. Reported-by: Darren Hart Signed-off-by: Steven Rostedt --- trace-local.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'trace-local.h') diff --git a/trace-local.h b/trace-local.h index 9f49c24..03ef9ef 100644 --- a/trace-local.h +++ b/trace-local.h @@ -3,6 +3,9 @@ #include "trace-cmd.h" +/* fix stupid glib guint64 typecasts and printf formats */ +typedef unsigned long long u64; + /* for local shared information with trace-cmd executable */ void usage(char **argv); -- cgit v1.2.2