From: Dmitry V. Levin Date: Wed, 21 Dec 2016 21:33:03 +0000 (+0000) Subject: futex: change address type from long to kernel_ureg_t X-Git-Tag: v4.16~239 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=daa81a8612a282e86b714d50e8531417ffa8566d;p=strace futex: change address type from long to kernel_ureg_t * futex.c (SYS_FUNC(futex)): Change address type from long to kernel_ureg_t. --- diff --git a/futex.c b/futex.c index 44d96359..ff91ab70 100644 --- a/futex.c +++ b/futex.c @@ -43,11 +43,11 @@ SYS_FUNC(futex) { - const long uaddr = tcp->u_arg[0]; + const kernel_ureg_t uaddr = tcp->u_arg[0]; const int op = tcp->u_arg[1]; const int cmd = op & 127; - const long timeout = tcp->u_arg[3]; - const long uaddr2 = tcp->u_arg[4]; + const kernel_ureg_t timeout = tcp->u_arg[3]; + const kernel_ureg_t uaddr2 = tcp->u_arg[4]; const unsigned int val = tcp->u_arg[2]; const unsigned int val2 = tcp->u_arg[3]; const unsigned int val3 = tcp->u_arg[5];