summaryrefslogtreecommitdiff
path: root/tools/perf/util/btf.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/btf.c')
-rw-r--r--tools/perf/util/btf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/btf.c b/tools/perf/util/btf.c
index bb163fe87767..50d98f3e83bf 100644
--- a/tools/perf/util/btf.c
+++ b/tools/perf/util/btf.c
@@ -14,7 +14,7 @@ const struct btf_member *__btf_type__find_member_by_name(struct btf *btf,
{
const struct btf_type *t = btf__type_by_id(btf, type_id);
const struct btf_member *m;
- int i;
+ u32 i;
for (i = 0, m = btf_members(t); i < btf_vlen(t); i++, m++) {
const char *current_member_name = btf__name_by_offset(btf, m->name_off);