Commit b7df15ec authored by David S. Miller's avatar David S. Miller

[FUTEX]: Fix kernel/futex.c warning on 64-bit.

parent 644a24b3
......@@ -537,7 +537,7 @@ asmlinkage long sys_futex(u32 __user *uaddr, int op, int val,
* requeue parameter in 'utime' if op == FUTEX_REQUEUE.
*/
if (op == FUTEX_REQUEUE)
val2 = (int) utime;
val2 = (int) (long) utime;
return do_futex((unsigned long)uaddr, op, val, timeout,
(unsigned long)uaddr2, val2);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment