Ukernel prototypes
[openafs.git] / src / afs / VNOPS / afs_vnop_remove.c
index a0a538c..818c0e7 100644 (file)
@@ -434,7 +434,7 @@ afs_remove(OSI_VC_DECL(adp), char *aname, struct AFS_UCRED *acred)
        if (!code) {
            struct VenusFid *oldmvid = NULL;
            if (tvc->mvid) 
-               oldmvid = (char *)tvc->mvid;
+               oldmvid = tvc->mvid;
            tvc->mvid = (struct VenusFid *)unlname;
            if (oldmvid)
                osi_FreeSmallSpace(oldmvid);