Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libbpf: fix u64-to-pointer cast on 32-bit arches
It's been reported that (void *)map->map_extra is causing compilation warnings on 32-bit architectures. It's easy enough to fix this by casting to long first. Fixes: 79ff13e ("libbpf: Add support for bpf_arena.") Reported-by: Ryan Eatmon <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Message-ID: <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]>
- Loading branch information