commit | 7d9890ef505a8c2a778d304535e26e827d58c466 | [log] [tgz] |
---|---|---|
author | David Miller <davem@davemloft.net> | Tue Dec 19 15:53:11 2017 -0500 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Wed Dec 20 01:33:25 2017 +0100 |
tree | ecfdce336b2e383b862054b8a7135578bddbc53f | |
parent | 06ef0ccb5a36e1feba9b413ff59a04ecc4407c1c [diff] |
libbpf: Fix build errors. These elf object pieces are of type Elf64_Xword and therefore could be "long long" on some builds. Cast to "long long" and use printf format %lld to deal with this since we are building with -Werror=format. Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>