Revert "osi_UFSOpen returns struct osi_file *"
[openafs.git] / src / afs / VNOPS / afs_vnop_read.c
index a575c2f..6ca652b 100644 (file)
@@ -785,7 +785,7 @@ afs_UFSRead(register struct vcache *avc, struct uio *auio,
            }
        } else {
            /* get the data from the file */
-           tfile = osi_UFSOpen(&tdc->f.inode);
+           tfile = (struct osi_file *)osi_UFSOpen(&tdc->f.inode);
 #ifdef AFS_DARWIN80_ENV
            trimlen = len;
             tuiop = afsio_darwin_partialcopy(auio, trimlen);