]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Backport casting from origin/master to origin/openafs-stable-1_4_x
authorChristof Hanke <christof.hanke@rzg.mpg.de>
Sun, 20 Dec 2009 19:09:21 +0000 (20:09 +0100)
committerDerrick Brashear <shadow|account-1000005@unknown>
Sun, 20 Dec 2009 19:29:50 +0000 (11:29 -0800)
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>
src/afs/afs_call.c

index 2b810d9f9f42dc4968a1f560ca333bbb0a3b899f..3b2b4a03155c134a3eee58d14bf5178ab19a19c7 100644 (file)
@@ -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) {