]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
selftests/seccomp: fix 32-bit build warnings
authorKees Cook <keescook@chromium.org>
Thu, 10 Dec 2015 22:50:25 +0000 (14:50 -0800)
committerShuah Khan <shuahkh@osg.samsung.com>
Thu, 7 Jan 2016 20:40:20 +0000 (13:40 -0700)
commitb5bb6d3068eabb075ee7db09c73374f6db73ff4a
treee22cee15c4d6eaf110d500f073a0fe98e472034b
parentcdf88b4f45142f7c85a934f05b55a6c08e1d2414
selftests/seccomp: fix 32-bit build warnings

The casting was done incorrectly for 32-bit builds. Fixed to use uintptr_t.

Reported-by: Eric Adams <adamse@google.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
tools/testing/selftests/seccomp/test_harness.h