The casting is necessary to make rpmlint happy when building SUSE rpms.
(cherry picked from
b147521611a73d0578aca14b3252e062de1e5d8a)
Change-Id: I7e6c260e03891e81b8bafccb0f689cd423c40570
Reviewed-on: http://gerrit.openafs.org/1015
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
uap->parm4, p->p_cred->pc_ucred);
#else
code =
- afs_syscall_pioctl(uap->parm1, uap->parm2, uap->parm3,
- uap->parm4);
+ afs_syscall_pioctl((char *) uap->parm1,(unsigned int) uap->parm2,
+ (caddr_t) uap->parm3,(int) uap->parm4);
#endif
AFS_GUNLOCK();
} else if (uap->syscall == AFSCALL_ICREATE) {