Correct a compiler warning from the last commit.
authorMatthew Dillon <dillon@dragonflybsd.org>
Tue, 10 Oct 2006 17:16:48 +0000 (17:16 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Tue, 10 Oct 2006 17:16:48 +0000 (17:16 +0000)
sys/vfs/nullfs/null_vfsops.c

index c336256..5f7db7d 100644 (file)
@@ -37,7 +37,7 @@
  *
  * @(#)lofs_vfsops.c   1.2 (Berkeley) 6/18/92
  * $FreeBSD: src/sys/miscfs/nullfs/null_vfsops.c,v 1.35.2.3 2001/07/26 20:37:11 iedowse Exp $
- * $DragonFly: src/sys/vfs/nullfs/null_vfsops.c,v 1.27 2006/10/10 16:21:02 dillon Exp $
+ * $DragonFly: src/sys/vfs/nullfs/null_vfsops.c,v 1.28 2006/10/10 17:16:48 dillon Exp $
  */
 
 /*
@@ -162,7 +162,7 @@ nullfs_unmount(struct mount *mp, int mntflags)
        /*
         * Finally, throw away the null_mount structure
         */
-       xmp = mp->mnt_data;
+       xmp = (void *)mp->mnt_data;
        mp->mnt_data = 0;
        if (xmp->nullm_rootvp) {
                vrele(xmp->nullm_rootvp);