]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
if ino_t is a larger type than afs_int32, we lose bits, then treat it as
authorDerrick Brashear <shadow@dementia.org>
Thu, 14 Nov 2002 20:36:31 +0000 (20:36 +0000)
committerGarry Zacheiss <zacheiss@mit.edu>
Thu, 14 Nov 2002 20:36:31 +0000 (20:36 +0000)
if nothing happened...

(cherry picked from commit d04a30d76b7b55aef7ec7463a6b0ba3cbc06b08a)

src/afs/SOLARIS/osi_file.c

index acbb091378229273d75ef8e061ade56cd1c22234..d762d79d7d0a89cc02cc90bb6205c82b7fdd5228 100644 (file)
@@ -149,8 +149,11 @@ void *osi_VxfsOpen(ainode)
 }
 #endif /* AFS_HAVE_VXFS */
 
-void *osi_UfsOpen(ainode)
-    afs_int32 ainode;
+#if defined(AFS_SUN57_64BIT_ENV)
+void *osi_UfsOpen(ino_t ainode)
+#else
+void *osi_UfsOpen(afs_int32 ainode)
+#endif
 {
     struct inode *ip;
     register struct osi_file *afile = NULL;