Signed-off-by: Alejandro Colomar <colomar.6.4.3@xxxxxxxxx> --- man2/seccomp.2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man2/seccomp.2 b/man2/seccomp.2 index 58033da1c..d6b856c32 100644 --- a/man2/seccomp.2 +++ b/man2/seccomp.2 @@ -1101,7 +1101,7 @@ install_filter(int syscall_nr, int t_arch, int f_errno) }; struct sock_fprog prog = { - .len = (unsigned short) (sizeof(filter) / sizeof(filter[0])), + .len = sizeof(filter) / sizeof(filter[0]), .filter = filter, }; -- 2.28.0