From f7ba96ebd7e43caf4557d4769ca8242e2a47afdf Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Thu, 14 Nov 2002 20:36:31 +0000 Subject: [PATCH] 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) --- src/afs/SOLARIS/osi_file.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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; -- 2.39.5