Commit e53cf384 authored by Joel Fernandes (Google)'s avatar Joel Fernandes (Google) Committed by Joel Fernandes
Browse files

libbpf: Fix various errors when build libbpf in Android



In Android, we build C code using clang with [-Werror,-Wsign-compare]
flags. This causes various errors with libbpf.c and perf_reader.c such
as "error: comparison of integers of different signs: 'int' and
'unsigned long'". Let us fix them since it is a good idea to them
anyway.

Signed-off-by: default avatarJoel Fernandes (Google) <joel@joelfernandes.org>
parent b998421b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment