The older bpf_program__get_expected_attach_type() didn't declare its argument as const, so the compiler complains about the compatibility wrapper dropping the const qualifier. Add an explicit cast to silence the warning. Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>Loading...