From: Derrick Brashear Date: Thu, 14 Nov 2002 20:36:31 +0000 (+0000) Subject: if ino_t is a larger type than afs_int32, we lose bits, then treat it as X-Git-Tag: openafs-stable-1_2_8~54 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=f7ba96ebd7e43caf4557d4769ca8242e2a47afdf;p=packages%2Fo%2Fopenafs.git if ino_t is a larger type than afs_int32, we lose bits, then treat it as if nothing happened... (cherry picked from commit d04a30d76b7b55aef7ec7463a6b0ba3cbc06b08a) --- diff --git a/src/afs/SOLARIS/osi_file.c b/src/afs/SOLARIS/osi_file.c index acbb09137..d762d79d7 100644 --- a/src/afs/SOLARIS/osi_file.c +++ b/src/afs/SOLARIS/osi_file.c @@ -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;