From daa81a8612a282e86b714d50e8531417ffa8566d Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Wed, 21 Dec 2016 21:33:03 +0000 Subject: [PATCH] futex: change address type from long to kernel_ureg_t * futex.c (SYS_FUNC(futex)): Change address type from long to kernel_ureg_t. --- futex.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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]; -- 2.50.1