Skip to content
This repository has been archived by the owner on Apr 27, 2023. It is now read-only.

./../iovisor/iomodules/hover/bpf/bpf_module.go:217:22: cannot use res (type _Ctype_int) as type unsafe.Pointer in assignment #26

Open
mnshrr opened this issue May 13, 2020 · 0 comments

Comments

@mnshrr
Copy link

mnshrr commented May 13, 2020

ebpf@ebpf-VirtualBox:~/go/src/github.com/vishvananda/netlink$ go get github.com/iovisor/iomodules/hover# github.com/iovisor/iomodules/hover/bpf
../../iovisor/iomodules/hover/bpf/bpf_module.go:217:22: cannot use int(res) (type int) as type unsafe.Pointer in assignment

change it to just res also failed:
ebpf@ebpf-VirtualBox:/go/src/github.com/vishvananda/netlink$ go get github.com/iovisor/iomodules/hover# github.com/iovisor/iomodules/hover/bpf
../../iovisor/iomodules/hover/bpf/bpf_module.go:217:22: cannot use res (type _Ctype_int) as type unsafe.Pointer in assignment
ebpf@ebpf-VirtualBox:
/go/src/github.com/vishvananda/netlink$

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant