evdev: cast pointers to kernel_ureg_t instead of unsigned long

* evdev.c (ff_effect_ioctl): Cast ff_periodic_effect.custom_data
pointer to kernel_ureg_t instead of unsigned long.
This commit is contained in:
Дмитрий Левин 2016-12-21 13:13:08 +00:00
parent 8afd294eb3
commit fa66f3f700

View File

@ -135,7 +135,7 @@ ff_effect_ioctl(struct tcb *tcp, long arg)
decode_envelope(&ffe.u.periodic.envelope);
tprintf(", custom_len=%u, custom_data=",
ffe.u.periodic.custom_len);
printaddr((unsigned long) ffe.u.periodic.custom_data);
printaddr((kernel_ureg_t) ffe.u.periodic.custom_data);
tprints("}");
break;
case FF_RUMBLE: