aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util')
-rw-r--r--tools/perf/util/event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/event.c b/tools/perf/util/event.c
index 252b72a5e59e..6635fcd11ca5 100644
--- a/tools/perf/util/event.c
+++ b/tools/perf/util/event.c
@@ -42,7 +42,7 @@ int perf_sample_size(u64 sample_type)
42 int i; 42 int i;
43 43
44 for (i = 0; i < 64; i++) { 44 for (i = 0; i < 64; i++) {
45 if (mask & (1UL << i)) 45 if (mask & (1ULL << i))
46 size++; 46 size++;
47 } 47 }
48 48