From 469b475840ec5efbc81a2be988082c66c7bac593 Mon Sep 17 00:00:00 2001 From: Chaskiel M Grundman Date: Fri, 25 Aug 2006 05:47:46 +0000 Subject: [PATCH] DEVEL15-macos104-no-64bit-resid-yet-20060825 we're not ready for 64bit resid yet (in dir code) (cherry picked from commit 3cdf27d6f070dd93c48995c344fba3b9ab0ac48e) --- src/afs/afs_osi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/afs/afs_osi.h b/src/afs/afs_osi.h index e65cb28ba9..771c12214e 100644 --- a/src/afs/afs_osi.h +++ b/src/afs/afs_osi.h @@ -398,7 +398,7 @@ typedef struct timeval osi_timeval_t; #ifdef AFS_DARWIN80_ENV #define AFS_UIO_OFFSET(uio) uio_offset(uio) -#define AFS_UIO_RESID(uio) uio_resid(uio) +#define AFS_UIO_RESID(uio) (int)uio_resid(uio) #define AFS_UIO_SETOFFSET(uio, off) uio_setoffset(uio, off) #define AFS_UIO_SETRESID(uio, val) uio_setresid(uio, val) #else