From f4d0160750607bc55ad35382dd30592077800430 Mon Sep 17 00:00:00 2001 From: mjg Date: Tue, 10 Jan 2017 04:17:53 +0000 Subject: [PATCH] cd9660: fix up compilation on sparc after r311665 Reported by: linimon --- sys/fs/cd9660/cd9660_vfsops.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/sys/fs/cd9660/cd9660_vfsops.c b/sys/fs/cd9660/cd9660_vfsops.c index 2d97029a6642..96c7dcfbaee4 100644 --- a/sys/fs/cd9660/cd9660_vfsops.c +++ b/sys/fs/cd9660/cd9660_vfsops.c @@ -88,7 +88,7 @@ static struct vfsops cd9660_vfsops = { VFS_SET(cd9660_vfsops, cd9660, VFCF_READONLY); MODULE_VERSION(cd9660, 1); -static int cd9660_vfs_hash_cmp(struct vnode *vp, cd_ino_t *pino); +static int cd9660_vfs_hash_cmp(struct vnode *vp, void *pino); static int iso_mountfs(struct vnode *devvp, struct mount *mp); /* @@ -650,12 +650,14 @@ cd9660_vget(mp, ino, flags, vpp) static int cd9660_vfs_hash_cmp(vp, pino) struct vnode *vp; - cd_ino_t *pino; + void *pino; { struct iso_node *ip; + cd_ino_t ino; ip = VTOI(vp); - return (ip->i_number != *pino); + ino = *(cd_ino_t *)pino; + return (ip->i_number != ino); } int