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:
parent
8afd294eb3
commit
fa66f3f700
2
evdev.c
2
evdev.c
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user