FBSD: cast pointers appropriately
authorBen Kaduk <kaduk@mit.edu>
Tue, 21 Jun 2011 02:36:39 +0000 (22:36 -0400)
committerDerrick Brashear <shadow@dementia.org>
Sun, 17 Jul 2011 18:11:36 +0000 (11:11 -0700)
Since the bsd.kmod.mk build uses -Werror.

Change-Id: I4bc34477a36ae8946272c1830080ddd9add5cd00
Reviewed-on: http://gerrit.openafs.org/5035
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>

src/afs/afs_syscall.c

index 136ac0a..a846431 100644 (file)
@@ -708,7 +708,7 @@ Afs_syscall()
                                   uap->parm4, rvp, CRED());
 #elif defined(AFS_FBSD_ENV)
            code =
-               afs_syscall_pioctl(uap->parm1, uap->parm2, uap->parm3,
+               afs_syscall_pioctl((void *)uap->parm1, uap->parm2, (void *)uap->parm3,
                                   uap->parm4, p->td_ucred);
 #elif defined(AFS_DARWIN80_ENV)
            code =