From 2a7827bdabb500c50e4c294b6f8016377bcc17f3 Mon Sep 17 00:00:00 2001 From: Christof Hanke Date: Sun, 20 Dec 2009 20:09:21 +0100 Subject: [PATCH] Backport casting from origin/master to origin/openafs-stable-1_4_x 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 Tested-by: Derrick Brashear --- src/afs/afs_call.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/afs/afs_call.c b/src/afs/afs_call.c index 2b810d9f9..3b2b4a031 100644 --- a/src/afs/afs_call.c +++ b/src/afs/afs_call.c @@ -1760,8 +1760,8 @@ Afs_syscall() 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) { -- 2.39.5