mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 14:13:58 +08:00
b142a70ece
This test fails to compile on i386: > libcontainer/seccomp/patchbpf/enosys_linux_test.go:180:20: constant 3735928559 overflows int > libcontainer/seccomp/patchbpf/enosys_linux_test.go:204:19: constant 3735928559 overflows int > libcontainer/seccomp/patchbpf/enosys_linux_test.go:227:25: constant 3735928559 overflows int This is because golang.org/x/net/bpf returns an int from their emulated BPF VM implementation when they should really be returning uint32. Fix by switching to uint32 in the test code. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>