aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/lib/traceevent/event-parse.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/lib/traceevent/event-parse.c b/tools/lib/traceevent/event-parse.c
index 5f34aa371b56..b7c2c491f61e 100644
--- a/tools/lib/traceevent/event-parse.c
+++ b/tools/lib/traceevent/event-parse.c
@@ -31,6 +31,7 @@
31#include <stdarg.h> 31#include <stdarg.h>
32#include <ctype.h> 32#include <ctype.h>
33#include <errno.h> 33#include <errno.h>
34#include <stdint.h>
34 35
35#include "event-parse.h" 36#include "event-parse.h"
36#include "event-utils.h" 37#include "event-utils.h"
@@ -3485,7 +3486,7 @@ process_defined_func(struct trace_seq *s, void *data, int size,
3485 if (!string->str) 3486 if (!string->str)
3486 die("malloc str"); 3487 die("malloc str");
3487 3488
3488 args[i] = (unsigned long long)string->str; 3489 args[i] = (uintptr_t)string->str;
3489 strings = string; 3490 strings = string;
3490 trace_seq_destroy(&str); 3491 trace_seq_destroy(&str);
3491 break; 3492 break;